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

WordPress Trac noreply at wordpress.org
Sun Apr 12 21:27:05 UTC 2015


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

Comment (by jdgrimes):

 Another alternative is to take
 [https://core.trac.wordpress.org/ticket/26111#comment:4 nacin's original
 approach], and only support this with closures. Or only closures and
 arrays (though arrays might not be 100% immune to this).

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


More information about the wp-trac mailing list