WordPress.org

Make WordPress Core

Ticket #20723: class-wp-xmlrpc-server.php.patch

File class-wp-xmlrpc-server.php.patch, 570 bytes (added by djcp, 10 years ago)
  • wp-includes/class-wp-xmlrpc-server.php

    diff --git a/wp-includes/class-wp-xmlrpc-server.php b/wp-includes/class-wp-xmlrpc-server.php
    index 1a4d1ca..470c960 100644
    a b class wp_xmlrpc_server extends IXR_Server { 
    13631363                        $query['post_status'] = $filter['post_status'];
    13641364
    13651365                if ( isset( $filter['number'] ) )
    1366                         $query['number'] = absint( $filter['number'] );
     1366                        $query['numberposts'] = absint( $filter['number'] );
    13671367
    13681368                if ( isset( $filter['offset'] ) )
    13691369                        $query['offset'] = absint( $filter['offset'] );