[wp-trac] [WordPress Trac] #61958: Rename `wp_should_load_separate_core_block_assets()` to clarify its purpose

WordPress Trac noreply at wordpress.org
Fri Aug 30 09:13:43 UTC 2024


#61958: Rename `wp_should_load_separate_core_block_assets()` to clarify its purpose
-------------------------+-----------------------
 Reporter:  flixos90     |       Owner:  flixos90
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  6.7
Component:  Editor       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:  template
-------------------------+-----------------------

Comment (by aristath):

 I think renaming these makes sense...
 When the function and the filter were first introduced, their scope was
 narrower, and the names made sense.
 That is no longer the case, and they are the cause of some confusion.

 +1 from me.

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


More information about the wp-trac mailing list