X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/11be8dc178e77d0b46189bbd8e33a216a9b90942..88550bc3400cc7c035ff590ecb007c7938041ded:/wp-admin/edit-form-comment.php diff --git a/wp-admin/edit-form-comment.php b/wp-admin/edit-form-comment.php index 531db65b..d6e3d4e1 100644 --- a/wp-admin/edit-form-comment.php +++ b/wp-admin/edit-form-comment.php @@ -6,34 +6,72 @@ * @subpackage Administration */ -/** - * @var string - */ -$submitbutton_text = __('Edit Comment'); -$toprow_title = sprintf(__('Editing Comment # %s'), $comment->comment_ID); -$form_action = 'editedcomment'; -$form_extra = "' />\n\n -
comment_ID) ?>
-

-
- - - + + + + -$email = attribute_escape( $comment->comment_author_email ); -$url = attribute_escape( $comment->comment_author_url ); -// add_meta_box('submitdiv', __('Save'), 'comment_submit_meta_box', 'comment', 'side', 'core'); -?> +
+
+
+

+
+ + + + + + + + + + + + + + + +
+ comment_author_email ) { + printf( __( 'E-mail (%s):' ), get_comment_author_email_link( __( 'send e-mail' ), '', '' ) ); + } else { + _e( 'E-mail:' ); + } +?>
+ comment_author_url ) && 'http://' != $comment->comment_author_url ) { + $link = '' . __('visit site') . ''; + /** This filter is documented in wp-includes/comment-template.php */ + printf( __( 'URL (%s):' ), apply_filters( 'get_comment_author_link', $link ) ); + } else { + _e( 'URL:' ); + } ?>
+
+
+
-
+
+ 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' ); + wp_editor( $comment->comment_content, 'content', array( 'media_buttons' => false, 'tinymce' => false, 'quicktags' => $quicktags_settings ) ); + wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> +
+
+ +
-

+

@@ -47,20 +85,27 @@ $url = attribute_escape( $comment->comment_author_url );
-
-
-
- +
+
+
+ +
+ + +
+
+ -
+
%1$s'); $date = date_i18n( $datef, strtotime( $comment->comment_date ) ); ?> -  -
+  +
@@ -68,78 +113,50 @@ $date = date_i18n( $datef, strtotime( $comment->comment_date ) );
-comment_ID) . "' onclick=\"if ( confirm('" . js_escape(__("You are about to delete this comment. \n 'Cancel' to stop, 'OK' to delete.")) . "') ) { return true;}return false;\">" . __('Delete'); ?> +comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\n"; ?>
- +
-
+
-
-
+
+ -

-
- - - - - - - - - - - - - - - -
-
- " . __('visit site') . ""; - printf( __( 'URL (%s):' ), apply_filters('get_comment_author_link', $link ) ); - } else { - _e( 'URL:' ); - } ?>
-
-
-
+/** + * Fires when comment-specific meta boxes are added. + * + * @since 3.0.0 + * + * @param object $comment Comment object. + */ +do_action( 'add_meta_boxes_comment', $comment ); -
-comment_content, 'content', 'newcomment_author_url', false, 4); ?> - -
+do_meta_boxes(null, 'normal', $comment); - +?> +
- - - + + + -
-
+
+ +