[wp-trac] [WordPress Trac] #18365: Javascript Access to Basic Wordpress Functions

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 9 23:58:00 UTC 2011


#18365: Javascript Access to Basic Wordpress Functions
-------------------------+----------------------
 Reporter:  mneil        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  minor        |  Resolution:  wontfix
 Keywords:               |
-------------------------+----------------------
Changes (by scribu):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 You're free to pass whatever data you like using wp_localize_script().

 No need to clutter the js window object with variables that are only used
 by plugins.

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


More information about the wp-trac mailing list