From 4d47bfce41113166e03e5ab56ee8591f92fc3415 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 25 Feb 2018 16:36:30 +0000 Subject: [PATCH] Coding Standards: Fix code indent in `unescape_invalid_shortcodes()`. Props joelcj91, GaryJ. Fixes #43346. Built from https://develop.svn.wordpress.org/trunk@42738 git-svn-id: http://core.svn.wordpress.org/trunk@42568 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/shortcodes.php | 15 ++++++++------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) 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.