Define json_encode() in load-scripts.php. see #19524 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@19597 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
54067a5f20
commit
cce319d088
@ -92,6 +92,13 @@ function includes_url() {}
|
||||
*/
|
||||
function wp_guess_url() {}
|
||||
|
||||
if ( ! function_exists( 'json_encode' ) ) :
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
function json_encode() {}
|
||||
endif;
|
||||
|
||||
function get_file($path) {
|
||||
|
||||
if ( function_exists('realpath') )
|
||||
|
Loading…
Reference in New Issue
Block a user