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:
Ryan Boren
2008-02-27 00:46:27 +00:00
parent 174f16123e
commit a5fc5dcbf4
11 changed files with 16 additions and 90 deletions
+1 -2
View File
@@ -33,7 +33,6 @@ if ( isset($_GET['deleteit']) && isset($_GET['delete']) ) {
$title = __('Pages');
$parent_file = 'edit.php';
wp_enqueue_script( 'wp-lists' );
wp_enqueue_script('admin-forms');
require_once('admin-header.php');
@@ -139,7 +138,7 @@ if ($posts) {
<?php } ?>
</tr>
</thead>
<tbody id="the-list" class="list:page">
<tbody>
<?php page_rows($posts); ?>
</tbody>
</table>