Make WordPress Core

Changeset 20846


Ignore:
Timestamp:
05/22/2012 10:25:17 PM (13 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r20807 r20846  
    13641364
    13651365        if ( isset( $filter['number'] ) )
    1366             $query['number'] = absint( $filter['number'] );
     1366            $query['numberposts'] = absint( $filter['number'] );
    13671367
    13681368        if ( isset( $filter['offset'] ) )
Note: See TracChangeset for help on using the changeset viewer.