[wp-trac] [WordPress Trac] #62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML

WordPress Trac noreply at wordpress.org
Tue Jun 10 20:58:40 UTC 2025


#62731: Inline CSS inserted by wp_print_auto_sizes_contain_css_fix too high in HTML
---------------------------+------------------------------
 Reporter:  superpoincare  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:  6.7.1
 Severity:  minor          |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by sabernhardt):

 If the //title// should be earlier, block themes probably could add
 'title-tag' support now instead of using the
 `_block_template_render_title_tag` function. (@westonruter proposed the
 [https://github.com/WordPress/gutenberg/pull/17626/files#r329165034
 separate function], in the context of the Gutenberg plugin, and #53176
 carried it over with a new name.)

 Looking at some [https://wpdirectory.net/search/01JXDEFBDY6QTDFF644Z0EMW3B
 plugins]:
 - Yoast SEO and ExpertFile remove both `_wp_render_title_tag` and
 `_block_template_render_title_tag` from `wp_head`.
 - Brizy Page Builder removes `_block_template_render_title_tag` because it
 interfered with the plugin's
 [https://plugins.trac.wordpress.org/browser/brizy/tags/2.6.22/public/views/templates
 /brizy-blank-template.php?marks=18-20#L18 blank template].

 The [https://wpdirectory.net/search/01JXDN7G1TGCADD1DDGN7WFHK6 WeCodeArt
 theme] replaces `_wp_render_title_tag` with
 `_block_template_render_title_tag`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62731#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list