Changeset 4662
- Timestamp:
- 12/23/2006 06:14:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r4660 r4662 411 411 412 412 @param text Text to be balanced 413 @param force Forces balancing, ignoring the value of the option 413 414 @return Returns balanced text 414 415 @author Leonard Lin (leonard@acm.org) … … 419 420 @changelog 420 421 --- Modified by Scott Reilly (coffee2code) 02 Aug 2004 421 422 423 424 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 425 426 */ 426 function balanceTags($text, $ is_comment = 0, $force = false) {427 function balanceTags($text, $force = false) { 427 428 428 429 if ( !$force && get_option('use_balanceTags') == 0 ) … … 526 527 527 528 function force_balance_tags($text) { 528 return balanceTags($text, 0,true);529 return balanceTags($text, true); 529 530 } 530 531
Note: See TracChangeset
for help on using the changeset viewer.