[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 17:43:33 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:
------------------------------+---------------------
Changes (by jorbin):

 * keywords:  has-patch => has-patch commit


Comment:

 I removed the PHP test but I agree with @swissspidy that it could comeback
 if it actually works.

 I fixed up the test so that it creates the mu-plugins folder. I also
 adjusted it so that it works when running the tests vs both src and build.

 Planning to commit later today unless there is an objection.

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


More information about the wp-trac mailing list