Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#50948 closed defect (bug) (duplicate)

After WordPress 5.5 update - wp_localize_script no longer works with jquery handle name

Reported by: keyinora's profile keyinora Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.5
Component: Script Loader Keywords:
Focuses: javascript Cc:


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.

Change History (2)

#1 @TimothyBlynJacobs
4 years ago

  • Keywords has-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for the report @keyinora!

We're tracking this issue in #50919. I'm going to close out this ticket so we can keep the discussion in one place.

#2 @SergeyBiryukov
4 years ago

  • Component changed from General to Script Loader
Note: See TracTickets for help on using tickets.