Make WordPress Core

Ticket #6165: 6165.diff

File 6165.diff, 615 bytes (added by mdawaffe, 17 years ago)
  • wp-admin/edit.php

     
    3434$title = __('Posts');
    3535$parent_file = 'edit.php';
    3636wp_enqueue_script('admin-forms');
    37 if ( 1 == $_GET['c'] )
     37
     38list($post_stati, $avail_post_stati) = wp_edit_posts_query();
     39
     40if ( 1 == count($posts) && isset( $_GET['p'] ) )
    3841        wp_enqueue_script( 'admin-comments' );
    3942require_once('admin-header.php');
    4043
    41 list($post_stati, $avail_post_stati) = wp_edit_posts_query();
    42 
    4344if ( !isset( $_GET['paged'] ) )
    4445        $_GET['paged'] = 1;
    4546