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.


Top ↑

Return Return

(string)


Top ↑

Source Source

File: wp-includes/post-template.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.