Ticket #6165: 6165.diff
File 6165.diff, 615 bytes (added by , 17 years ago) |
---|
-
wp-admin/edit.php
34 34 $title = __('Posts'); 35 35 $parent_file = 'edit.php'; 36 36 wp_enqueue_script('admin-forms'); 37 if ( 1 == $_GET['c'] ) 37 38 list($post_stati, $avail_post_stati) = wp_edit_posts_query(); 39 40 if ( 1 == count($posts) && isset( $_GET['p'] ) ) 38 41 wp_enqueue_script( 'admin-comments' ); 39 42 require_once('admin-header.php'); 40 43 41 list($post_stati, $avail_post_stati) = wp_edit_posts_query();42 43 44 if ( !isset( $_GET['paged'] ) ) 44 45 $_GET['paged'] = 1; 45 46