Make WordPress Core

Ticket #25633: 25633.1.diff

File 25633.1.diff, 510 bytes (added by atimmer, 11 years ago)
  • tests/phpunit/tests/xmlrpc/wp/getPosts.php

     
    6464                $posts_found = array();
    6565                $filter['number'] = 5;
    6666                $filter['offset'] = 0;
     67                $filter['orderby'] = 'ID';
    6768                do {
    6869                        $presults = $this->myxmlrpcserver->wp_getPosts( array( 1, 'editor', 'editor', $filter ) );
    6970                        foreach( $presults as $post ) {