[wp-trac] [WordPress Trac] #53375: Loading separate core block assets tries to load stylesheets on blocks that doesn't have styles

WordPress Trac noreply at wordpress.org
Mon Jun 28 19:36:14 UTC 2021


#53375: Loading separate core block assets tries to load stylesheets on blocks that
doesn't have styles
--------------------------+------------------------
 Reporter:  walbo         |       Owner:  desrosj
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  5.8
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------
Changes (by desrosj):

 * keywords:  has-patch commit => has-patch


Comment:

 I was going to test this one more time and commit, but I'm now having
 trouble getting any individual style calls following the steps with
 `add_filter( 'should_load_separate_core_block_assets', '__return_true'
 );`.

 Ignoring the `filemtime()` occurrence that we'll address in #53507, the
 changes in the PR definitely look like they are improvements to the
 underlying code. But I'd like to identify whether the original issue was
 fixed by another change before committing.

 Can everyone retest with WP 5.8 beta4 to see if I'm missing something, or
 confirm that the issue was fixed?

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


More information about the wp-trac mailing list