Make WordPress Core

Changeset 4662


Ignore:
Timestamp:
12/23/2006 06:14:34 AM (18 years ago)
Author:
markjaquith
Message:

Remove unused is_comment param in balanceTags() relates to #2714

File:
1 edited

Legend:

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

    r4660 r4662  
    411411
    412412 @param text      Text to be balanced
     413 @param force     Forces balancing, ignoring the value of the option
    413414 @return          Returns balanced text
    414415 @author          Leonard Lin (leonard@acm.org)
     
    419420 @changelog
    420421 ---  Modified by Scott Reilly (coffee2code) 02 Aug 2004
    421                          1.2  ***TODO*** Make better - change loop condition to $text
    422                          1.1  Fixed handling of append/stack pop order of end text
    423                                     Added Cleaning Hooks
    424                          1.0  First Version
     422    1.2  ***TODO*** Make better - change loop condition to $text
     423    1.1  Fixed handling of append/stack pop order of end text
     424         Added Cleaning Hooks
     425    1.0  First Version
    425426*/
    426 function balanceTags($text, $is_comment = 0, $force = false) {
     427function balanceTags($text, $force = false) {
    427428
    428429    if ( !$force && get_option('use_balanceTags') == 0 )
     
    526527
    527528function force_balance_tags($text) {
    528     return balanceTags($text, 0, true);
     529    return balanceTags($text, true);
    529530}
    530531
Note: See TracChangeset for help on using the changeset viewer.