[wp-trac] [WordPress Trac] #59302: Update script registration in default themes to use new function signature

WordPress Trac noreply at wordpress.org
Wed Sep 13 03:05:40 UTC 2023


#59302: Update script registration in default themes to use new function signature
---------------------------+--------------------------
 Reporter:  flixos90       |       Owner:  flixos90
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  6.4
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+--------------------------

Comment (by flixos90):

 @peterwilsoncc Where specifically is the commit not compatible with the
 older WordPress versions? The old versions expect a boolean, and a non
 empty array is interpreted as true. That was considered in the
 implementation, so I don't see where there's an incompatibility. Could you
 please clarify the concern?

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


More information about the wp-trac mailing list