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:
nacin 2011-12-14 23:02:42 +00:00
parent 340e93324c
commit 31e5be0b66
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') )