mirror of
https://github.com/WordPress/WordPress.git
synced 2025-12-05 11:24:25 +01:00
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
This commit is contained in:
parent
505c2ddb61
commit
4d47bfce41
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user