Skip to content

Use correct mechanism to disable auto-sizes CSS fix#3

Merged
szepeviktor merged 1 commit intoszepeviktor:masterfrom
westonruter:patch-1
Jun 12, 2025
Merged

Use correct mechanism to disable auto-sizes CSS fix#3
szepeviktor merged 1 commit intoszepeviktor:masterfrom
westonruter:patch-1

Conversation

@westonruter
Copy link
Copy Markdown
Contributor

@westonruter westonruter commented Jun 12, 2025

As per https://core.trac.wordpress.org/ticket/62731 we may be using a different function that hooks into wp_enqueue_scripts instead of wp_head. There is also a wp_img_tag_add_auto_sizes filter specifically for the purpose of disabling this style, so it should be used instead.

@szepeviktor
Copy link
Copy Markdown
Owner

What a lovely surprise, Weston!

This place is only for researchers. I thought I'm alone!!

@szepeviktor
Copy link
Copy Markdown
Owner

Are you sure it is ticket 6273?

@szepeviktor
Copy link
Copy Markdown
Owner

Thank you.

@szepeviktor szepeviktor merged commit d10175b into szepeviktor:master Jun 12, 2025
@westonruter
Copy link
Copy Markdown
Contributor Author

Sorry. The link I copied was truncated. The ticket is 62731.

westonruter added a commit to westonruter/zero-bytes-theme that referenced this pull request Oct 3, 2025
szepeviktor pushed a commit that referenced this pull request Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants