[wp-trac] [WordPress Trac] #24197: wp_localize_script() doesn't work on admin_enqueue_scripts action

WordPress Trac noreply at wordpress.org
Wed May 1 07:47:09 UTC 2013


#24197: wp_localize_script() doesn't work on admin_enqueue_scripts action
--------------------------+--------------------
 Reporter:  IcyPixels     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  General       |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+--------------------

Comment (by somatic):

 Confirming same problem here with 3.6 beta2. I localize all the time in my
 plugins to pass variables from wp/php for my jquery functions. If this
 "jquery-migrate" is fouling it up, and won't be fixed until final release,
 you're going to hear a lot of developers wondering why their javascript is
 bungled while testing the beta...

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


More information about the wp-trac mailing list