From a3f252ffbdd628219b45968b9a14ab47ee0476a0 Mon Sep 17 00:00:00 2001 From: Andrew Ozz 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: https://develop.svn.wordpress.org/trunk@11300 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 ); } }