diff options
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php')
-rw-r--r-- | plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php b/plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php index 15668bc5..cb2954f1 100644 --- a/plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php +++ b/plugins/jetpack/sync/class.jetpack-sync-json-deflate-array-codec.php @@ -23,7 +23,7 @@ class Jetpack_Sync_JSON_Deflate_Array_Codec implements iJetpack_Sync_Codec { // @see https://gist.github.com/muhqu/820694 private function json_serialize( $any ) { - return json_encode( $this->json_wrap( $any ) ); + return wp_json_encode( $this->json_wrap( $any ) ); } private function json_unserialize( $str ) { |