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

WordPress Trac noreply at wordpress.org
Sat Jan 3 04:12:16 UTC 2015


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

Comment (by jtsternberg):

 Replying to [comment:10 dd32]:
 > Minor suggestion: The function should be called with the script handle,
 or any other context details about the enqueue.

 I'm a bit ashamed I didn't think of that. Patch incoming.

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


More information about the wp-trac mailing list