mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +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:
@@ -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