[wp-trac] [WordPress Trac] #44691: Comment variable is wrong for shortcode tags
WordPress Trac
noreply at wordpress.org
Wed Aug 1 12:04:02 UTC 2018
#44691: Comment variable is wrong for shortcode tags
-------------------------------------+---------------------
Reporter: uttam007 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+---------------------
Changes (by netweb):
* keywords: => has-patch needs-refresh
* milestone: Awaiting Review => 5.0
Comment:
Hi @uttam007, welcome to Trac and thanks for creating his ticket :)
Could you refresh the patch please so that the `@param`'s descriptions are
aligned:
{{{
#!diff
--- src/wp-includes/shortcodes.php
+++ src/wp-includes/shortcodes.php
@@ -609,7 +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 );}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44691#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list