[wp-trac] [WordPress Trac] #29722: wp_localize_script should be able to manage scalars
WordPress Trac
noreply at wordpress.org
Wed Sep 23 16:26:06 UTC 2015
#29722: wp_localize_script should be able to manage scalars
----------------------------------+------------------------------
Reporter: Fab1en | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-docs | Focuses: javascript
----------------------------------+------------------------------
Comment (by boonebgorges):
> I'm thinking maybe we want to do the html_entity_decode( (string)
$value, ENT_QUOTES, 'UTF-8') recursively?
Groan :) If you can recurse without losing performance for one-dimensional
arrays, then OK.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29722#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list