mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Add opt-in optioon for comment hotkeys. Props nbachiyski. fixes #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@9217 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -12,7 +12,7 @@ require_once('admin.php');
|
||||
$title = __('Edit Comments');
|
||||
wp_enqueue_script( 'admin-comments' );
|
||||
wp_enqueue_script( 'admin-forms' );
|
||||
wp_enqueue_script( 'jquery-table-hotkeys' );
|
||||
enqueue_comment_hotkeys_js();
|
||||
|
||||
if ( ( isset( $_POST['delete_all_spam'] ) || isset( $_POST['delete_all_spam2'] ) ) && !empty( $_POST['pagegen_timestamp'] ) ) {
|
||||
check_admin_referer('bulk-spam-delete');
|
||||
|
||||
Reference in New Issue
Block a user