[wp-trac] [WordPress Trac] #20558: allow wp_localize_script data to be added to existing objects

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 28 13:16:32 UTC 2012


#20558: allow wp_localize_script data to be added to existing objects
-------------------------------------------------+-------------------------
 Reporter:  ryanve                               |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Performance                          |  Review
 Severity:  minor                                |     Version:  3.3
 Keywords:  dev-feedback reporter-feedback 2nd-  |  Resolution:
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by scribu):

 > Another future consideration would be if an $object_name is not
 provided, then expose the data to a single global object called wordpress

 How would that help? Plugins would still have to prefix their options.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20558#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list