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

git-svn-id: http://svn.automattic.com/wordpress/trunk@7057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-02-27 00:46:27 +00:00
parent 83df1eb992
commit 354edc9544
11 changed files with 16 additions and 90 deletions

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>