X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fd1685fbc29cf422e0d23f1bf1815bc023be805d..5aa86a9053fb0fa15846bb60aac2fb8fdfff524a:/wp-admin/edit-form-comment.php?ds=sidebyside diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index f361ad7a..37772e3c 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -47,14 +47,14 @@ $comment->comment_author_email = esc_attr($comment->comment_author_email);
-
-
- +
+
+
%1$s'); $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); @@ -68,10 +68,10 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
-comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "' onclick=\"if ( confirm('" . esc_js(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ){return true;}return false;\">" . __('Delete') . "\n"; ?> +comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?>
- + '4' ) ); ?>
@@ -120,12 +120,18 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
-comment_content, 'content', 'newcomment_author_url', false, 4); ?> - + 'strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close' ); + wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); + wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?>
- +