diff --git a/wp-includes/shortcodes.php b/wp-includes/shortcodes.php index da583251d8..0c7695e889 100644 --- a/wp-includes/shortcodes.php +++ b/wp-includes/shortcodes.php @@ -458,14 +458,15 @@ function do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames ) { * @return string Content with placeholders removed. */ function unescape_invalid_shortcodes( $content ) { - // Clean up entire string, avoids re-parsing HTML. - $trans = array( - '[' => '[', - ']' => ']', - ); - $content = strtr( $content, $trans ); + // Clean up entire string, avoids re-parsing HTML. + $trans = array( + '[' => '[', + ']' => ']', + ); - return $content; + $content = strtr( $content, $trans ); + + return $content; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 27132bf30e..d5c9d1fd71 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42737'; +$wp_version = '5.0-alpha-42738'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.