diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 17d275c244..af432eef5e 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -11,6 +11,9 @@ require_once('admin-header.php'); add_filter( 'post_limits', $limit_filter = create_function( '$a', '$b = split(" ",$a); if ( !isset($b[2]) ) return $a; $start = intval(trim($b[1])) / 20 * 15; if ( !is_int($start) ) return $a; return "LIMIT $start, 20";' ) ); list($post_stati, $avail_post_stati) = wp_edit_posts_query(); $wp_query->max_num_pages = ceil( $wp_query->found_posts / 15 ); // We grab 20 but only show 15 ( 5 more for ajax extra ) + +if ( !isset( $_GET['paged'] ) ) + $_GET['paged'] = 1; ?> post_title)); } else { - $post_status_label = _c('Posts|manage posts header'); + $post_status_label = _c('Manage Posts|manage posts header'); if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) $post_status_label = $post_stati[$_GET['post_status']][1]; if ( $post_listing_pageable && !is_archive() && !is_search() ) @@ -57,12 +60,8 @@ if ( is_single() ) { printf( _c( '%1$s%2$s%3$s%4$s%5$s%6$s|You can reorder these: 1: Posts, 2: by {s}, 3: matching {s}, 4: in {s}, 5: tagged with {s}, 6: during {s}' ), $h2_noun, $h2_author, $h2_search, $h2_cat, $h2_tag, $h2_month ); } ?> -

- - -

-