Changes between Version 15 and Version 16 of Ticket #58873
- Timestamp:
- 08/20/2026 04:32:34 PM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #58873
- Property Milestone Future Release → 7.2
- Property Status reopened → accepted
- Property Owner set to
-
Ticket #58873 – Description
v15 v16 1 2 1 This ticket began as a request for a function to replace `wp_localize_script()`. The discussion rejected that. `wp_localize_script()` is for translations and casts values to strings (#25280). `wp_add_inline_script()` works but means writing JavaScript in PHP strings, adds a blocking script, and uses a global variable. 3 2
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)