[wp-trac] [WordPress Trac] #50948: After WordPress 5.5 update - wp_localize_script no longer works with jquery handle name

WordPress Trac noreply at wordpress.org
Wed Aug 12 16:33:38 UTC 2020


#50948: After WordPress 5.5 update - wp_localize_script no longer works with jquery
handle name
--------------------------+-----------------------------
 Reporter:  keyinora      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.5
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  javascript    |
--------------------------+-----------------------------
 Hello, I found that after my local script where no longer being detected.
 Upon investigating I noticed (for some reason) wp_localize_script no
 longer works when using the jquery handle, but works with any other.


 I found two fixes, using this plugin - Enable jQuery Migrate Helper or
 using a different handle script. However, this appears to be a bug so I
 was hoping either to get some eyes on this or at least maybe some
 additional information.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50948>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list