Fix post limiting in wp_getPosts(). Props djcp. fixes #20723

git-svn-id: http://core.svn.wordpress.org/trunk@20846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2012-05-22 22:25:17 +00:00
parent 4685f9ea04
commit 4077461708
1 changed files with 1 additions and 1 deletions

View File

@ -1363,7 +1363,7 @@ class wp_xmlrpc_server extends IXR_Server {
$query['post_status'] = $filter['post_status'];
if ( isset( $filter['number'] ) )
$query['number'] = absint( $filter['number'] );
$query['numberposts'] = absint( $filter['number'] );
if ( isset( $filter['offset'] ) )
$query['offset'] = absint( $filter['offset'] );