Make WordPress Core

Ticket #44691: strip_shortcode_comment.7361.diff

File strip_shortcode_comment.7361.diff, 574 bytes (added by uttam007, 8 years ago)

Updated the comment parameter name in the comment.

  • src/wp-includes/shortcodes.php

    diff --git src/wp-includes/shortcodes.php src/wp-includes/shortcodes.php
    index 0c7695e889..16b0fcb243 100644
    function strip_shortcodes( $content ) {  
    609609         *
    610610         * @since 4.7.0
    611611         *
    612          * @param array  $tag_array Array of shortcode tags to remove.
     612         * @param array  $tags_to_remove Array of shortcode tags to remove.
    613613         * @param string $content   Content shortcodes are being removed from.
    614614         */
    615615        $tags_to_remove = apply_filters( 'strip_shortcodes_tagnames', $tags_to_remove, $content );