Make WordPress Core

Changeset 19601


Ignore:
Timestamp:
12/16/2011 08:57:05 PM (13 years ago)
Author:
nacin
Message:

Correct the documentation for balanceTags(). props mdawaffe, fixes #19576.

File:
1 edited

Legend:

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

    r19593 r19601  
    10131013 * Will only balance the tags if forced to and the option is set to balance tags.
    10141014 *
    1015  * The option 'use_balanceTags' is used for whether the tags will be balanced.
    1016  * Both the $force parameter and 'use_balanceTags' option will have to be true
    1017  * before the tags will be balanced.
     1015 * The option 'use_balanceTags' is used to determine whether the tags will be balanced.
    10181016 *
    10191017 * @since 0.71
    10201018 *
    10211019 * @param string $text Text to be balanced
    1022  * @param bool $force Forces balancing, ignoring the value of the option. Default false.
     1020 * @param bool $force If true, forces balancing, ignoring the value of the option. Default false.
    10231021 * @return string Balanced text
    10241022 */
Note: See TracChangeset for help on using the changeset viewer.