]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/load-scripts.php
WordPress 3.4
[autoinstalls/wordpress.git] / wp-admin / load-scripts.php
index 95a0c0ccf7a70cc9c2de711b778a15a7c77af202..065ea9c9acd13f45cb2e18a5edbf886e37bd309a 100644 (file)
@@ -21,7 +21,6 @@ function __() {}
  */
 function _x() {}
 
-
 /**
  * @ignore
  */
@@ -92,6 +91,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') )