diff --git a/src/Fetch_Command.php b/src/Fetch_Command.php index d45783b..6042d4b 100644 --- a/src/Fetch_Command.php +++ b/src/Fetch_Command.php @@ -117,6 +117,7 @@ public function __invoke( $args, $assoc_args ) { $oembed_args['discover'] = $discover; // Make 'oembed_dataparse' filter a no-op so get raw unsanitized data. + remove_all_filters( 'oembed_dataparse' ); // Save a few cycles. add_filter( 'oembed_dataparse', function ( $return, $data, $url ) { return $data; }, PHP_INT_MAX, 3 );