From 2b2e7e947832c202d9f336b2d1008d0d44854870 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 19 May 2009 16:03:11 +0000 Subject: [PATCH] Add more link and then force_balance_tags. Props Denis-de-Bernardy. fixes #9765 git-svn-id: http://svn.automattic.com/wordpress/trunk@11398 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index a8855e859..35c374e9e 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -222,9 +222,9 @@ function get_the_content($more_link_text = null, $stripteaser = 0, $more_file = if ( $more ) { $output .= '' . $content[1]; } else { - $output = balanceTags($output); if ( ! empty($more_link_text) ) $output .= apply_filters( 'the_content_more_link', ' $more_link_text", $more_link_text ); + $output = force_balance_tags($output); } }