mirror of
git://develop.git.wordpress.org/
synced 2025-02-25 00:52:55 +01:00
Coding Standards: Fix code indent in unescape_invalid_shortcodes()
.
Props joelcj91, GaryJ. Fixes #43346. git-svn-id: https://develop.svn.wordpress.org/trunk@42738 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74ccb68c56
commit
32f5aacba7
@ -458,14 +458,15 @@ function do_shortcodes_in_html_tags( $content, $ignore_html, $tagnames ) {
|
|||||||
* @return string Content with placeholders removed.
|
* @return string Content with placeholders removed.
|
||||||
*/
|
*/
|
||||||
function unescape_invalid_shortcodes( $content ) {
|
function unescape_invalid_shortcodes( $content ) {
|
||||||
// Clean up entire string, avoids re-parsing HTML.
|
// Clean up entire string, avoids re-parsing HTML.
|
||||||
$trans = array(
|
$trans = array(
|
||||||
'[' => '[',
|
'[' => '[',
|
||||||
']' => ']',
|
']' => ']',
|
||||||
);
|
);
|
||||||
$content = strtr( $content, $trans );
|
|
||||||
|
|
||||||
return $content;
|
$content = strtr( $content, $trans );
|
||||||
|
|
||||||
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user