正在更新为WordPress 2.0开发的旧WP站点,并且有一个不返回“post\\u content”数据的post(page)查询。
下面是所说的问题:
$the_query = query_posts(\'post_type=page&post_parent=50&post_status=publish&orderby=menu_order&order=ASC&posts_per_page=100\');
和返回的对象(其中一个):[0] => stdClass Object
(
[ID] => 249
[post_title] => John Doe
[link_link] => 1
[no_follow_link] => 0
[redirect_url] =>
[target_blank] => 0
[post_status] => publish
[post_name] => john-do
[post_parent] => 50
[guid] => http://beta.mysite.org/
[post_type] => page
[filter] => raw
)
值得注意的是,这缺少post\\u内容。这是一件大事。有什么想法吗?我不认为这是内存限制问题。我尝试了许多不同的解决方法。非常感谢您的建议。