[wp-trac] [WordPress Trac] #54597: Featured Image section missing on Posts and Pages

WordPress Trac noreply at wordpress.org
Mon Jan 3 21:59:55 UTC 2022


#54597: Featured Image section missing on Posts and Pages
-------------------------------------------------+-------------------------
 Reporter:  noisysocks                           |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.9
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by joyously):

 > No the <title> tag is automatically added in a block theme.

 I see that there is now a private function
 https://developer.wordpress.org/reference/functions/_block_template_render_title_tag/
 which does not check the support. That page refers to the old function
 `_wp_render_title_tag()` which did, and that link is 404.

 > Did some testing on 'gallery', 'caption', 'search-form', and
 'navigation-widgets'. Without adding them to the HTML5 theme support
 array, each renders as HTML5. So by default, they are already HTML5. As
 @Mamaduka noted, the block has the markup in it.

 Again, it sounds like you are talking about blocks, not legacy content
 which millions of sites still have. The theme_support for html5 refers to
 legacy functions that generate the search form (widget or direct call),
 gallery shortcode, caption shortcode, and Menu widgets (this is for a11y).
 Or are you saying that using a block theme, the legacy content is somehow
 transformed? Or that the block theme doesn't have specific styles for
 anything but blocks so these things don't matter?

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


More information about the wp-trac mailing list