From 96c3f739a8a05a18c49b3fbbeba01cfa6269feca Mon Sep 17 00:00:00 2001
From: ryan 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 = '
'.__('You have do not have sufficient permissions to edit templates for this blog.').'
'); @@ -97,7 +97,7 @@ if ($plugin_files) :