Make WordPress Core


Ignore:
Timestamp:
04/25/2006 08:46:19 AM (20 years ago)
Author:
ryan
Message:

Div balance across more. Props skeltoac. fixes #2348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-formatting.php

    r3717 r3751  
    405405             1.0  First Version
    406406*/
    407 function balanceTags($text, $is_comment = 0) {
    408 
    409     if ( get_option('use_balanceTags') == 0)
     407function balanceTags($text, $is_comment = 0, $force = false) {
     408
     409    if ( !$force && get_option('use_balanceTags') == 0 )
    410410        return $text;
    411411
Note: See TracChangeset for help on using the changeset viewer.