We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4bbb9dd commit f7cebe1Copy full SHA for f7cebe1
1 file changed
mf2-feed.php
@@ -68,7 +68,7 @@ public static function do_feed_mf2( $for_comments ) {
68
* @return string $json_str JSON encoded string
69
*/
70
public static function encode_json( $json, $feed = 'mf2' ) {
71
- $options |= JSON_PRETTY_PRINT;
+ $options = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES;
72
/*
73
* Options to be passed to json_encode()
74
*
@@ -90,7 +90,6 @@ public static function do_feed_jf2( $for_comments ) {
90
} else {
91
load_template( dirname( __FILE__ ) . '/includes/feed-jf2.php' );
92
}
93
- require_once dirname( __FILE__ ) . '/includes/class-mf2-feed-entry.php';
94
95
96
/**
0 commit comments