WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 14 months ago

Last modified 13 months ago

#50948 closed defect (bug) (duplicate)

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

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

Description

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
14 months 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
13 months ago

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