There can be only one, or maybe more. Props Mark J. fixes #2991
git-svn-id: http://svn.automattic.com/wordpress/trunk@4071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ca2dcf7d1d
commit
8fb3a20083
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue