From e8dfdea6331716a20df7e683cff8b7b120cfef87 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 16 Dec 2011 20:57:05 +0000 Subject: [PATCH] Correct the documentation for balanceTags(). props mdawaffe, fixes #19576. git-svn-id: https://develop.svn.wordpress.org/trunk@19601 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/formatting.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 82857e687f..7a32615149 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -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 ) {