mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Update json lib. Use encodeUnsafe in our json wrapper. Props nacin. fixes #11537 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12491 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -133,7 +133,7 @@ if ( !function_exists('json_encode') ) {
|
||||
$wp_json = new Services_JSON();
|
||||
}
|
||||
|
||||
return $wp_json->encode( $string );
|
||||
return $wp_json->encodeUnsafe( $string );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user