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:
Andrew Nacin 2011-12-14 23:02:42 +00:00
parent 54067a5f20
commit cce319d088
1 changed files with 7 additions and 0 deletions

View File

@ -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') )