[wp-trac] [WordPress Trac] #52620: Add `path` data to block stylesheets to allow improving their loading method

WordPress Trac noreply at wordpress.org
Tue May 11 16:26:43 UTC 2021


#52620: Add `path` data to block stylesheets to allow improving their loading
method
-------------------------+--------------------------
 Reporter:  aristath     |       Owner:  gziolo
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.8
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:  performance
-------------------------+--------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50838" 50838]:
 {{{
 #!CommitTicketReference repository="" revision="50838"
 Editor: Some documentation and test improvements for loading separate
 assets for core blocks:

 * Move `should_load_separate_core_block_assets()` to a more appropriate
 place.
 * Update DocBlocks and inline comments per the documentation standards.
 * Document the `$wp_styles` global in `wp_maybe_inline_styles()`.
 * List the expected result first in unit test assertions.
 * Remove a duplicate unit test.
 * Add missing `@covers` tags.

 Follow-up to [50836], [50837].

 See #50328, #52620, #53180.
 }}}

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


More information about the wp-trac mailing list