Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
_convert_urlencoded_to_entities( array $match )
Preview fix for JavaScript bug with foreign languages.
Description Description
Parameters Parameters
- $match
-
(array) (Required) Match array from preg_replace_callback.
Return Return
(string)
Source Source
File: wp-includes/post-template.php
function _convert_urlencoded_to_entities( $match ) { return '&#' . base_convert( $match[1], 16, 10 ) . ';'; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |