[wp-trac] [WordPress Trac] #26111: wp_localize_script array from callback for performance

WordPress Trac noreply at wordpress.org
Tue Apr 21 06:28:47 UTC 2015


#26111: wp_localize_script array from callback for performance
---------------------------+-----------------------------
 Reporter:  ciantic        |       Owner:  wonderboymusic
     Type:  enhancement    |      Status:  reopened
 Priority:  high           |   Milestone:  Future Release
Component:  Script Loader  |     Version:  2.6
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  performance
---------------------------+-----------------------------

Comment (by nacin):

 Keep in mind even an array can be a callable.

 I have a feeling the future here will be a new method. Closures are cool
 but inflexible.

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


More information about the wp-trac mailing list