mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Don't load wp-lists on pages that don't need it. Props mdawaffe. fixes #6011
git-svn-id: https://develop.svn.wordpress.org/trunk@7057 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -31,7 +31,6 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
|
||||
|
||||
$title = __('Media Library');
|
||||
$parent_file = 'edit.php';
|
||||
wp_enqueue_script( 'admin-posts' );
|
||||
wp_enqueue_script( 'admin-forms' );
|
||||
if ( 1 == $_GET['c'] )
|
||||
wp_enqueue_script( 'admin-comments' );
|
||||
@@ -181,10 +180,6 @@ foreach ($arc_result as $arc_row) {
|
||||
|
||||
</form>
|
||||
|
||||
<form action="" method="post" id="get-extra-posts" class="add:the-extra-list:" style="display:none">
|
||||
<?php wp_nonce_field( 'add-post', '_ajax_nonce', false ); ?>
|
||||
</form>
|
||||
|
||||
<div id="ajax-response"></div>
|
||||
|
||||
<div class="tablenav">
|
||||
|
||||
Reference in New Issue
Block a user