Make WordPress Core


Ignore:
Timestamp:
02/27/2008 12:46:27 AM (17 years ago)
Author:
ryan
Message:

Don't load wp-lists on pages that don't need it. Props mdawaffe. fixes #6011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r7046 r7057  
    3232$title = __('Media Library');
    3333$parent_file = 'edit.php';
    34 wp_enqueue_script( 'admin-posts' );
    3534wp_enqueue_script( 'admin-forms' );
    3635if ( 1 == $_GET['c'] )
     
    182181</form>
    183182
    184 <form action="" method="post" id="get-extra-posts" class="add:the-extra-list:" style="display:none">
    185     <?php wp_nonce_field( 'add-post', '_ajax_nonce', false ); ?>
    186 </form>
    187 
    188183<div id="ajax-response"></div>
    189184
Note: See TracChangeset for help on using the changeset viewer.