_convert_urlencoded_to_entities

The timeline below displays how wordpress function _convert_urlencoded_to_entities has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.4

/**
 * Preview fix for JavaScript bug with foreign languages.
 *
 * @since 3.1.0
 * @access private
 *
 * @param array $match Match array from preg_replace_callback.
 * @return string
 */
function _convert_urlencoded_to_entities($match)
{
    return '&#' . base_convert($match[1], 16, 10) . ';';
}

WordPress Version: 4.1

/**
 * Preview fix for JavaScript bug with foreign languages.
 *
 * @since 3.1.0
 * @access private
 * @param array $match Match array from preg_replace_callback
 * @return string
 */
function _convert_urlencoded_to_entities($match)
{
    return '&#' . base_convert($match[1], 16, 10) . ';';
}

WordPress Version: 3.7

/**
 * Preview fix for javascript bug with foreign languages
 *
 * @since 3.1.0
 * @access private
 * @param array $match Match array from preg_replace_callback
 * @return string
 */
function _convert_urlencoded_to_entities($match)
{
    return '&#' . base_convert($match[1], 16, 10) . ';';
}