Ticket #5177 (closed defect (bug): fixed)
WP_Scripts should localize first, load script second
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | 2.3 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: |
Description
Currently, WP_Scripts::print_scripts() loads a javascript file, and the echoes out the localized strings.
It should first echo out the localized strings and then load the javascript file, so that the javascript file has immediate access to those strings.
Attached.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

