mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Div balance across more. Props skeltoac. fixes #2348
git-svn-id: https://develop.svn.wordpress.org/trunk@3751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -404,9 +404,9 @@ function funky_javascript_fix($text) {
|
||||
Added Cleaning Hooks
|
||||
1.0 First Version
|
||||
*/
|
||||
function balanceTags($text, $is_comment = 0) {
|
||||
function balanceTags($text, $is_comment = 0, $force = false) {
|
||||
|
||||
if ( get_option('use_balanceTags') == 0)
|
||||
if ( !$force && get_option('use_balanceTags') == 0 )
|
||||
return $text;
|
||||
|
||||
$tagstack = array(); $stacksize = 0; $tagqueue = ''; $newtext = '';
|
||||
|
||||
Reference in New Issue
Block a user