From e26a5d64d1fe5b96f0b64e5ee6ff6beaaccd2c49 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 2 Aug 2018 15:12:56 +0000 Subject: [PATCH] Docs: Correct parameter name in `strip_shortcodes_tagnames` filter DocBlock. Props uttam007. Fixes #44691. git-svn-id: https://develop.svn.wordpress.org/trunk@43549 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/shortcodes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php index 0c7695e889..3c368b64c6 100644 --- a/src/wp-includes/shortcodes.php +++ b/src/wp-includes/shortcodes.php @@ -609,8 +609,8 @@ function strip_shortcodes( $content ) { * * @since 4.7.0 * - * @param array $tag_array Array of shortcode tags to remove. - * @param string $content Content shortcodes are being removed from. + * @param array $tags_to_remove Array of shortcode tags to remove. + * @param string $content Content shortcodes are being removed from. */ $tags_to_remove = apply_filters( 'strip_shortcodes_tagnames', $tags_to_remove, $content );