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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user