Make WordPress Core


Ignore:
Timestamp:
10/13/2010 05:25:00 AM (14 years ago)
Author:
nacin
Message:

s/showposts/posts_per_page/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/nav-menu.php

    r15471 r15788  
    653653            <ul id="<?php echo $post_type_name; ?>checklist-most-recent" class="categorychecklist form-no-clear">
    654654                <?php
    655                 $recent_args = array_merge( $args, array( 'orderby' => 'post_date', 'order' => 'DESC', 'showposts' => 15 ) );
     655                $recent_args = array_merge( $args, array( 'orderby' => 'post_date', 'order' => 'DESC', 'posts_per_page' => 15 ) );
    656656                $most_recent = $get_posts->query( $recent_args );
    657657                $args['walker'] = $walker;
Note: See TracChangeset for help on using the changeset viewer.