[wp-trac] [WordPress Trac] #53505: `wp_should_load_separate_core_block_assets()` is confusing

WordPress Trac noreply at wordpress.org
Tue Jun 29 16:53:37 UTC 2021


#53505: `wp_should_load_separate_core_block_assets()` is confusing
---------------------------+---------------------
 Reporter:  desrosj        |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  5.8
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:
---------------------------+---------------------

Comment (by SergeyBiryukov):

 Replying to [comment:9 desrosj]:
 > [attachment:"53505.2.diff"] has some small tweaks to [51256] to refer to
 assets more instead of stylesheet as the plan is to use this for scripts
 as well.

 Looks good to me :)

 My only concern is that mentioning scripts here is technically not quite
 correct yet, but I guess that will fix itself when the function is also
 used for scripts in a future release.

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


More information about the wp-trac mailing list