X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/bf5c68485ef07868ad0a91168ecd0092af7661ae..8f374b7233bc2815ccc387e448d208c5434eb961:/wp-includes/shortcodes.php diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php index 1cb36137..1b860d27 100644 --- a/wp-includes/shortcodes.php +++ b/wp-includes/shortcodes.php @@ -235,7 +235,7 @@ function do_shortcode_tag( $m ) { return $m[1] . call_user_func( $shortcode_tags[$tag], $attr, $m[5], $tag ) . $m[6]; } else { // self-closing tag - return $m[1] . call_user_func( $shortcode_tags[$tag], $attr, NULL, $tag ) . $m[6]; + return $m[1] . call_user_func( $shortcode_tags[$tag], $attr, null, $tag ) . $m[6]; } } @@ -332,5 +332,3 @@ function strip_shortcode_tag( $m ) { } add_filter('the_content', 'do_shortcode', 11); // AFTER wpautop() - -?>