From 24cd5df33cc2ff2ef8d9dfd670f3866d8f789cc9 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 2 Oct 2006 18:34:08 +0000 Subject: [PATCH] Add and use delete class on delete buttons. Props mdawaffe. fixes #3187 git-svn-id: https://develop.svn.wordpress.org/trunk@4267 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/edit-comments.php | 2 +- wp-admin/edit-form-advanced.php | 2 +- wp-admin/edit-form-comment.php | 2 +- wp-admin/edit-page-form.php | 2 +- wp-admin/wp-admin.css | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index eb3c102fb1..ae23c633a1 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -191,7 +191,7 @@ $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; -

'); return false } return confirm('')" /> +

'); return false } return confirm('')" /> ')" />

diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index 42954f295d..8d6733400f 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -247,7 +247,7 @@ list_meta($metadata); -post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> +post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index b74d250757..e90e059ca7 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -67,7 +67,7 @@ addLoadEvent(focusit); comment_ID ); ?>: - /> + /> diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index d68e71bbbb..d7216a3bc3 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -189,7 +189,7 @@ list_meta($metadata); ID) ) ?> - post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> + post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index fb19af1f86..a4420cced3 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -502,7 +502,7 @@ table .vers { width: 300px; } -#deletepost:hover, #deletecomment:hover { +input.delete:hover { background: #ce0000; color: #fff; }