Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur791004 committed Sep 10, 2024
1 parent 94e535f commit 2f7b0b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/plugins/jetpack/modules/shortcodes/youtube.php
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ function wpcom_youtube_oembed_fetch_url( $provider, $url ) {
return $provider;
}

$query_vars = null;
$query_vars = array();
wp_parse_str( $parsed['query'], $query_vars );
if ( isset( $query_vars['v'] ) && wp_endswith( $query_vars['v'], '?' ) ) {
$url = str_replace( $query_vars['v'], $query_vars['v'], $url );
Expand Down

0 comments on commit 2f7b0b7

Please sign in to comment.