[wp-trac] [WordPress Trac] #50328: Enqueue script and style assets only for blocks present on the page

WordPress Trac noreply at wordpress.org
Mon May 17 14:27:08 UTC 2021


#50328: Enqueue script and style assets only for blocks present on the page
-------------------------------------------------+-------------------------
 Reporter:  aduth                                |       Owner:  gziolo
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  5.8
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit      |     Focuses:  javascript
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by gziolo):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50919" 50919]:
 {{{
 #!CommitTicketReference repository="" revision="50919"
 Editor: Rename `should_load_separate_core_block_assets` for consistency

 Changes introduced:
 - The `wp_should_load_separate_core_block_assets` function.
 - The `should_load_separate_core_block_assets` filter.

 Props hellofromTonya, SergeyBiryukov.
 Fixes #50328.
 }}}

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


More information about the wp-trac mailing list