From 2ba0d300c4db243edbaef479a0be846875d4a4d4 Mon Sep 17 00:00:00 2001 From: nacin Date: Fri, 16 Dec 2011 20:57:05 +0000 Subject: [PATCH] Correct the documentation for balanceTags(). props mdawaffe, fixes #19576. git-svn-id: http://svn.automattic.com/wordpress/trunk@19601 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 82857e687..7a3261514 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 ) {