Skip to content

Commit f7cebe1

Browse files
committed
Clean up main file
1 parent 4bbb9dd commit f7cebe1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

mf2-feed.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function do_feed_mf2( $for_comments ) {
6868
* @return string $json_str JSON encoded string
6969
*/
7070
public static function encode_json( $json, $feed = 'mf2' ) {
71-
$options |= JSON_PRETTY_PRINT;
71+
$options = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES;
7272
/*
7373
* Options to be passed to json_encode()
7474
*
@@ -90,7 +90,6 @@ public static function do_feed_jf2( $for_comments ) {
9090
} else {
9191
load_template( dirname( __FILE__ ) . '/includes/feed-jf2.php' );
9292
}
93-
require_once dirname( __FILE__ ) . '/includes/class-mf2-feed-entry.php';
9493
}
9594

9695
/**

0 commit comments

Comments
 (0)