From 34bb2765041b19b1bca39daff859c3b6a3951250 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Dec 2015 23:22:33 +0000 Subject: [PATCH] Docs: Add a missing summary, parameter, and return notations to the DocBlock for `strip_shortcode_tag()`. Introduced in [18952]. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35982 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/shortcodes.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/shortcodes.php b/src/wp-includes/shortcodes.php index 22f33c32ef..3967270922 100644 --- a/src/wp-includes/shortcodes.php +++ b/src/wp-includes/shortcodes.php @@ -597,9 +597,12 @@ function strip_shortcodes( $content ) { } /** + * Strips a shortcode tag based on RegEx matches against post content. * - * @param array $m - * @return string|false + * @since 3.3.0 + * + * @param array $m RegEx matches against post content. + * @return string|false The content stripped of the tag, otherwise false. */ function strip_shortcode_tag( $m ) { // allow [[foo]] syntax for escaping a tag