[wp-trac] [WordPress Trac] #57891: Frontend of block theme does not render as expected

WordPress Trac noreply at wordpress.org
Wed Mar 8 22:03:58 UTC 2023


#57891: Frontend of block theme does not render as expected
----------------------------------------------+----------------------------
 Reporter:  ironprogrammer                    |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  Awaiting
                                              |  Review
Component:  Themes                            |     Version:  trunk
 Severity:  major                             |  Resolution:
 Keywords:  has-screenshots has-testing-info  |     Focuses:
----------------------------------------------+----------------------------

Comment (by petitphp):

 Using `add_filter( 'should_load_separate_core_block_assets',
 '__return_false' );` to force WordPress to load the style for all block
 fix the issue.

 It might be that WordPress is not picking up which block are used in the
 page and thus not loading the associated styles.

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


More information about the wp-trac mailing list