Show full content, including content after the more tag, for feeds. fixes #2582
git-svn-id: http://svn.automattic.com/wordpress/trunk@6763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7f78733f6b
commit
bf2f730177
|
@ -1559,7 +1559,7 @@ function setup_postdata($post) {
|
||||||
$page = get_query_var('page');
|
$page = get_query_var('page');
|
||||||
if ( !$page )
|
if ( !$page )
|
||||||
$page = 1;
|
$page = 1;
|
||||||
if ( is_single() || is_page() )
|
if ( is_single() || is_page() || is_feed() )
|
||||||
$more = 1;
|
$more = 1;
|
||||||
$content = $post->post_content;
|
$content = $post->post_content;
|
||||||
if ( preg_match('/<!--nextpage-->/', $content) ) {
|
if ( preg_match('/<!--nextpage-->/', $content) ) {
|
||||||
|
|
Loading…
Reference in New Issue