[wp-trac] [WordPress Trac] #54910: 5.9 Bug - Blank Home Page

WordPress Trac noreply at wordpress.org
Wed Feb 2 22:28:06 UTC 2022

#54910: 5.9 Bug - Blank Home Page
 Reporter:  cantuaria                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:  5.9
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:

Comment (by manfcarlo):

 I agree with @andraganescu above but I also have doubts about the lifetime
 of the block theme test. In the long run, I imagine it will be more
 sensible to hide/show different features based on the more specific
 checks, i.e. `WP_Theme_JSON_Resolver::theme_has_support()` for global
 styles and `current_theme_supports( 'block-templates' )` for
 templates/parts/navigations, and phase out the use of
 `wp_is_block_theme()` altogether. Introducing a new declaration for themes
 should only be done if it's certain to be needed for the long term, and I
 think this was the reasoning for not introducing it thus far.

Ticket URL: <https://core.trac.wordpress.org/ticket/54910#comment:54>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list