Make WordPress Core

Ticket #39294: 39294.patch

File 39294.patch, 1.4 KB (added by dhanendran, 9 years ago)
  • src/wp-includes/shortcodes.php

     
    331331         * @since 4.7.0
    332332         *
    333333         * @param bool|string $return      Short-circuit return value. Either false or the value to replace the shortcode with.
    334          * @param string      $tag         Shortcode name.
    335          * @param array       $attr        Shortcode attributes array,
    336          * @param array       $m           Regular expression match array.
     334         * @param string       $tag         Shortcode name.
     335         * @param array|string $attr        Shortcode attributes array or empty string.
     336         * @param array        $m           Regular expression match array.
    337337         */
    338338        $return = apply_filters( 'pre_do_shortcode_tag', false, $tag, $attr, $m );
    339339        if ( false !== $return ) {
     
    350350         * @since 4.7.0
    351351         *
    352352         * @param string $output Shortcode output.
    353          * @param string $tag    Shortcode name.
    354          * @param array  $attr   Shortcode attributes array,
    355          * @param array  $m      Regular expression match array.
     353         * @param string       $tag    Shortcode name.
     354         * @param array|string $attr   Shortcode attributes array or empty string.
     355         * @param array        $m      Regular expression match array.
    356356         */
    357357        return apply_filters( 'do_shortcode_tag', $output, $tag, $attr, $m );
    358358}