diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index 819fcbbf84..c6dcc56052 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -656,7 +656,7 @@ function cat_rows($parent = 0, $level = 0, $categories = 0) {
$default_link_cat_id = get_option('default_link_category');
if ( ($category->cat_ID != $default_cat_id) && ($category->cat_ID != $default_link_cat_id) )
- $edit .= "
cat_ID ) . "' onclick=\"return deleteSomething( 'cat', $category->cat_ID, '" . sprintf(__("You are about to delete the category "%s".\\nAll of its posts will go into the default category of "%s"\\nAll of its bookmarks will go into the default category of "%s".\\n"OK" to delete, "Cancel" to stop."), addslashes($category->cat_name), js_escape(get_catname($default_cat_id)), js_escape(get_catname($default_link_cat_id))) . "' );\" class='delete'>".__('Delete')."";
+ $edit .= " | cat_ID ) . "' onclick=\"return deleteSomething( 'cat', $category->cat_ID, '" . sprintf(__("You are about to delete the category "%s".\\nAll of its posts will go into the default category of "%s"\\nAll of its bookmarks will go into the default category of "%s".\\n"OK" to delete, "Cancel" to stop."), addslashes($category->cat_name), js_escape(get_catname($default_cat_id)), js_escape(get_catname($default_link_cat_id))) . "' );\" class='delete'>".__('Delete')."";
else
$edit .= " | ".__("Default");
}
@@ -709,7 +709,7 @@ function page_rows($parent = 0, $level = 0, $pages = 0, $hierarchy = true) {
| post_modified); ?> |
|
" . __('Edit') . ""; } ?> |
- " . __('Delete') . ""; } ?> |
+ " . __('Delete') . ""; } ?> |
';
$action = 'editedcat';
- $nonce_action = 'update-category' . $cat_ID;
+ $nonce_action = 'update-category_' . $cat_ID;
} else {
$heading = __('Add Category');
$submit_text = __('Add Category »');
@@ -45,4 +45,4 @@ if ( ! empty($cat_ID) ) {
-
\ No newline at end of file
+
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
index 6552d20aef..e88c9aeeff 100644
--- a/wp-admin/edit-comments.php
+++ b/wp-admin/edit-comments.php
@@ -119,12 +119,12 @@ if ('view' == $mode) {
comment_post_ID) ) {
echo " " . __('Edit') . '';
- echo ' | comment_author)) . "' );\">" . __('Delete') . ' ';
+ echo ' | comment_author)) . "' );\">" . __('Delete') . ' ';
if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) {
- echo ' | ' . __('Unapprove') . ' ';
- echo ' | ' . __('Approve') . ' ';
+ echo ' | ' . __('Unapprove') . ' ';
+ echo ' | ' . __('Approve') . ' ';
}
- echo " | comment_post_ID."&comment=".$comment->comment_ID."\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . sprintf(__("You are about to mark as spam this comment by "%s".\\n"Cancel" to stop, "OK" to mark as spam."), js_escape( $comment->comment_author)) . "' );\">" . __('Spam') . " ";
+ echo " | comment_post_ID . "&comment=" . $comment->comment_ID", 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . sprintf(__("You are about to mark as spam this comment by "%s".\\n"Cancel" to stop, "OK" to mark as spam."), js_escape( $comment->comment_author)) . "' );\">" . __('Spam') . " ";
}
$post = get_post($comment->comment_post_ID);
$post_title = wp_specialchars( $post->post_title, 'double' );
diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php
index 0a79505b44..7ea0ccc3ee 100644
--- a/wp-admin/edit-form-advanced.php
+++ b/wp-admin/edit-form-advanced.php
@@ -26,7 +26,7 @@ if (0 == $post_ID) {
} else {
$form_action = 'editpost';
$form_extra = "";
- wp_nonce_field('update-post' . $post_ID);
+ wp_nonce_field('update-post_' . $post_ID);
}
$form_pingback = '';
@@ -220,7 +220,7 @@ list_meta($metadata);
-
+
post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}\""; ?> />
diff --git a/wp-admin/edit-link-form.php b/wp-admin/edit-link-form.php
index 06bb201f44..9e6126d9fe 100644
--- a/wp-admin/edit-link-form.php
+++ b/wp-admin/edit-link-form.php
@@ -3,7 +3,7 @@ if ( ! empty($link_id) ) {
$heading = __('Edit Bookmark');
$submit_text = __('Save Changes »');
$form = '