diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php
index fdfe5c78f0..0d94e6b46a 100644
--- a/wp-admin/admin-ajax.php
+++ b/wp-admin/admin-ajax.php
@@ -19,10 +19,10 @@ function wp_ajax_meta_row( $pid, $mid, $key, $value ) {
$r .= "
";
$r .= "";
$r .= " | | ";
- $r .= " ";
+ $r .= " ";
$r .= " |
";
+ $r .= js_escape(sprintf(__("You are about to delete the '%s' custom field on this post.\n'OK' to delete, 'Cancel' to stop."), $key_js));
+ $r .= "' );\" class='deletemeta' tabindex='6' value='".attribute_escape(__('Delete'))."' />";
return $r;
}
diff --git a/wp-admin/admin-functions.php b/wp-admin/admin-functions.php
index c119813d6b..d58276c332 100644
--- a/wp-admin/admin-functions.php
+++ b/wp-admin/admin-functions.php
@@ -750,7 +750,7 @@ function _cat_row( $category, $level, $name_override = false ) {
$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." ), js_escape( $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, '" . js_escape(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." ), $category->cat_name, get_catname( $default_cat_id ), get_catname( $default_link_cat_id ) )) . "' );\" class='delete'>".__( 'Delete' )."";
else
$edit .= " | ".__( "Default" );
} else
@@ -798,7 +798,7 @@ function page_rows( $parent = 0, $level = 0, $pages = 0, $hierarchy = true ) {
| post_modified ) _e('Unpublished'); else echo mysql2date( 'Y-m-d g:i a', $post->post_modified ); ?> |
|
" . __( 'Edit' ) . ""; } ?> |
- " . __( 'Delete' ) . ""; } ?> |
+ " . __( 'Delete' ) . ""; } ?> |
";
$r .= "\n\t\t | ";
$r .= "\n\t\t | ";
- $r .= "\n\t\t ";
+ $r .= "\n\t\t | ";
$r .= "\n\t\t | ";
+ $r .= js_escape(sprintf( __("You are about to delete the '%s' custom field on this post.\n'OK' to delete, 'Cancel' to stop." ), $key_js ) );
+ $r .= "' );\" class='deletemeta' tabindex='6' value='".attribute_escape(__( 'Delete' ))."' />";
$r .= "\n\t";
}
echo $r;
diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php
index dfa1a23efa..f7d7a8b7eb 100644
--- a/wp-admin/edit-comments.php
+++ b/wp-admin/edit-comments.php
@@ -157,12 +157,12 @@ $start = " start='$offset'";
comment_post_ID) ) {
echo " " . __('Edit') . '';
- echo ' | comment_author)) . "', theCommentList );\">" . __('Delete') . ' ';
+ echo ' | comment_author)) . "', theCommentList );\">" . __('Delete') . ' ';
if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) {
echo ' | ' . __('Unapprove') . ' ';
echo ' | ' . __('Approve') . ' ';
}
- echo " | comment_post_ID . "&c=" . $comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to mark as spam this comment by "%s".\n"Cancel" to stop, "OK" to mark as spam."), $comment->comment_author)) . "', theCommentList );\">" . __('Spam') . " ";
+ echo " | comment_post_ID . "&c=" . $comment->comment_ID, 'delete-comment_' . $comment->comment_ID) . "\" onclick=\"return deleteSomething( 'comment-as-spam', $comment->comment_ID, '" . js_escape(sprintf(__("You are about to mark as spam this comment by '%s'.\n'Cancel' to stop, 'OK' to mark as spam."), $comment->comment_author)) . "', theCommentList );\">" . __('Spam') . " ";
}
$post = get_post($comment->comment_post_ID);
$post_title = wp_specialchars( $post->post_title, 'double' );
diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php
index 7f4c64bcb5..4957645c22 100644
--- a/wp-admin/link-manager.php
+++ b/wp-admin/link-manager.php
@@ -176,7 +176,7 @@ if ( $links ) {
break;
case 'action':
echo ''.__('Edit').' | ';
- echo 'link_id , '".js_escape(sprintf(__("You are about to delete the "%s" link to %s.\n"Cancel" to stop, "OK" to delete."), $link->link_name, $link->link_url )).'\' );" class="delete">'.__('Delete').' | ';
+ echo 'link_id , '".js_escape(sprintf(__("You are about to delete the '%s' link to %s.\n'Cancel' to stop, 'OK' to delete."), $link->link_name, $link->link_url )).'\' );" class="delete">'.__('Delete').' | ';
break;
default:
?>