A WordPress-centric search engine for devs and theme authors



_convert_urlencoded_to_entities ›

Since3.1.0
Deprecatedn/a
_convert_urlencoded_to_entities ( $match )
Access:
  • private
Parameters:
  • (array) $match Match array from preg_replace_callback.
    Required: Yes
Returns:
  • (string)
Defined at:
Codex:

Preview fix for JavaScript bug with foreign languages.



Source

function _convert_urlencoded_to_entities( $match ) {
	return '&#' . base_convert( $match[1], 16, 10 ) . ';';
}