From 8fb3a200831a5f21e476928941840c17f5899576 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 1 Aug 2006 13:53:04 +0000 Subject: [PATCH] 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 --- wp-includes/post-template.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index bdaec4c0c..d199adf6d 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -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, '') && ((!$multipage) || ($page==1))) ) $stripteaser = 1;