There can be only one, or maybe more. Props Mark J. fixes #2991

git-svn-id: https://develop.svn.wordpress.org/trunk@4071 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-08-01 13:53:04 +00:00
parent 1eba7bb0f3
commit 8386c4a5c9
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ function get_the_content($more_link_text = '(more...)', $stripteaser = 0, $more_
$content = explode($matches[0], $content, 2);
if ( !empty($matches[1]) )
$more_link_text = strip_tags(wp_kses_no_null(trim($matches[1])));
} else {
$content = array($content);
}
if ( (false !== strpos($post->post_content, '<!--noteaser-->') && ((!$multipage) || ($page==1))) )
$stripteaser = 1;