WordPress.org

Make WordPress Core

Changeset 11528 for trunk/xmlrpc.php


Ignore:
Timestamp:
06/06/2009 02:44:38 PM (11 years ago)
Author:
ryan
Message:

Use array instead of query string notation. Prop dd32, kamiyeye. fixes #10047

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc.php

    r11380 r11528  
    605605        }
    606606
    607         $pages = get_posts( "post_type=page&post_status=all&numberposts={$page_limit}" );
     607        $pages = get_posts( array('post_type' => 'page', 'post_status' => 'all', 'numberposts' => $page_limit) );
    608608        $num_pages = count($pages);
    609609
Note: See TracChangeset for help on using the changeset viewer.