Changeset 15788
- Timestamp:
- 10/13/2010 05:25:00 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/nav-menu.php
r15471 r15788 653 653 <ul id="<?php echo $post_type_name; ?>checklist-most-recent" class="categorychecklist form-no-clear"> 654 654 <?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 ) ); 656 656 $most_recent = $get_posts->query( $recent_args ); 657 657 $args['walker'] = $walker; -
trunk/wp-includes/default-widgets.php
r15589 r15788 543 543 $number = 15; 544 544 545 $r = new WP_Query(array(' showposts' => $number, 'nopaging' => 0, 'post_status' => 'publish', 'ignore_sticky_posts' => true));545 $r = new WP_Query(array('posts_per_page' => $number, 'nopaging' => 0, 'post_status' => 'publish', 'ignore_sticky_posts' => true)); 546 546 if ($r->have_posts()) : 547 547 ?> -
trunk/wp-includes/nav-menu.php
r15590 r15788 654 654 'post_status' => 'any', 655 655 'post_type' => 'nav_menu_item', 656 ' showposts' => -1,656 'posts_per_page' => -1, 657 657 ) 658 658 );
Note: See TracChangeset
for help on using the changeset viewer.