Define json_encode() in load-scripts.php. see #19524 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
340e93324c
commit
31e5be0b66
|
@ -92,6 +92,13 @@ function includes_url() {}
|
||||||
*/
|
*/
|
||||||
function wp_guess_url() {}
|
function wp_guess_url() {}
|
||||||
|
|
||||||
|
if ( ! function_exists( 'json_encode' ) ) :
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
function json_encode() {}
|
||||||
|
endif;
|
||||||
|
|
||||||
function get_file($path) {
|
function get_file($path) {
|
||||||
|
|
||||||
if ( function_exists('realpath') )
|
if ( function_exists('realpath') )
|
||||||
|
|
Loading…
Reference in New Issue