mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047
git-svn-id: https://develop.svn.wordpress.org/trunk@11528 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -604,7 +604,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
$page_limit = $num_pages;
|
||||
}
|
||||
|
||||
$pages = get_posts( "post_type=page&post_status=all&numberposts={$page_limit}" );
|
||||
$pages = get_posts( array('post_type' => 'page', 'post_status' => 'all', 'numberposts' => $page_limit) );
|
||||
$num_pages = count($pages);
|
||||
|
||||
// If we have pages, put together their info.
|
||||
|
||||
Reference in New Issue
Block a user