From 5480332bc55b8005bb721e10d50b16407b03475d Mon Sep 17 00:00:00 2001 From: Ryan Boren 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: https://develop.svn.wordpress.org/trunk@11398 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 a8855e859f..35c374e9e1 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); } }