[wp-trac] [WordPress Trac] #60862: wp_localize_script() on login_enqueue_scripts hook change in behavior

WordPress Trac noreply at wordpress.org
Tue Apr 30 20:59:51 UTC 2024


#60862: wp_localize_script() on login_enqueue_scripts hook change in behavior
------------------------------+---------------------
 Reporter:  salcode           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.5.3
Component:  Script Loader     |     Version:  6.5
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+---------------------

Comment (by jorbin):

 @aslamdoctor If you restore `src/wp-includes/functions.wp-scripts.php` and
 run the entire test suite (not just the individual test), the test also
 passes due to side effects.

 @swissspidy asked me for some time to review when it's not late night, so
 holding off on committing for the time being.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60862#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list