From 99370b2b73e554ea2746b23a7c2207672e6ad7e9 Mon Sep 17 00:00:00 2001 From: azaozz Date: Tue, 12 May 2009 06:38:59 +0000 Subject: [PATCH] Add filter: the post content "more link", props JohnLamansky, fixes #9711 git-svn-id: http://svn.automattic.com/wordpress/trunk@11300 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 68a47fe540..0c456559c6 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -220,11 +220,11 @@ function get_the_content($more_link_text = null, $stripteaser = 0, $more_file = $output .= $teaser; if ( count($content) > 1 ) { if ( $more ) { - $output .= ''.$content[1]; + $output .= '' . $content[1]; } else { $output = balanceTags($output); if ( ! empty($more_link_text) ) - $output .= ' $more_link_text"; + $output .= apply_filters( 'the_content_more_link', ' $more_link_text", $more_link_text ); } }