[wp-trac] [WordPress Trac] #29722: wp_localize_script should be able to manage scalars
WordPress Trac
noreply at wordpress.org
Mon Sep 22 13:58:18 UTC 2014
#29722: wp_localize_script should be able to manage scalars
-------------------------+------------------------------
Reporter: Fab1en | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: javascript
-------------------------+------------------------------
Comment (by kitchin):
I had to edit my inline doc above. It is quite a custom function. This
part in particular might be up for debate, but matches current behavior:
{{{
If the data is an array, first dimension scalar values are converted to
string and html decoded.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29722#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list