diff --git a/mu-plugins/plugin-tweaks/youtube-shortcode.php b/mu-plugins/plugin-tweaks/youtube-shortcode.php index 49f05455..5db4837b 100644 --- a/mu-plugins/plugin-tweaks/youtube-shortcode.php +++ b/mu-plugins/plugin-tweaks/youtube-shortcode.php @@ -19,11 +19,10 @@ * * @param array $attr Shortcode attributes array, can be empty if the original arguments string cannot be parsed. * @param string $content Content inside shortcode tags. - * @param string $tag Shortcode name. * * @return string HTML code for iframe embed. */ -function render( $attr, $content, $tag ) { +function render( $attr, $content ) { // Short out early if the content is not a valid URL. // Returns null if content is not a URL at all. $host = wp_parse_url( $content, PHP_URL_HOST );