Correct the documentation for balanceTags(). props mdawaffe, fixes #19576.
git-svn-id: https://develop.svn.wordpress.org/trunk@19601 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bb574e4d80
commit
e8dfdea633
@ -1012,14 +1012,12 @@ function convert_chars($content, $deprecated = '') {
|
||||
/**
|
||||
* Will only balance the tags if forced to and the option is set to balance tags.
|
||||
*
|
||||
* The option 'use_balanceTags' is used for whether the tags will be balanced.
|
||||
* Both the $force parameter and 'use_balanceTags' option will have to be true
|
||||
* before the tags will be balanced.
|
||||
* The option 'use_balanceTags' is used to determine whether the tags will be balanced.
|
||||
*
|
||||
* @since 0.71
|
||||
*
|
||||
* @param string $text Text to be balanced
|
||||
* @param bool $force Forces balancing, ignoring the value of the option. Default false.
|
||||
* @param bool $force If true, forces balancing, ignoring the value of the option. Default false.
|
||||
* @return string Balanced text
|
||||
*/
|
||||
function balanceTags( $text, $force = false ) {
|
||||
|
Loading…
Reference in New Issue
Block a user