' . __( 'Comment' ) . '';
$quicktags_settings = array( 'buttons' => '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 ); ?>
@@ -85,28 +76,73 @@ if ( !defined('ABSPATH') )
-
-
-
-
-
+
%1$s');
$date = date_i18n( $datef, strtotime( $comment->comment_date ) );
?>
-
-
+
+
+
+
+
+comment_post_ID;
+if ( current_user_can( 'edit_post', $post_id ) ) {
+ $post_link = "
";
+ $post_link .= esc_html( get_the_title( $post_id ) ) . '';
+} else {
+ $post_link = esc_html( get_the_title( $post_id ) );
+}
+?>
+
+
+ ' . $post_link . ''
+ ); ?>
+
+
+comment_parent ) :
+ $parent = get_comment( $comment->comment_parent );
+ $parent_link = esc_url( get_comment_link( $comment->comment_parent ) );
+ $name = get_comment_author( $parent->comment_ID );
+?>
+
+
+
+
+
@@ -141,12 +177,13 @@ do_action( 'add_meta_boxes_comment', $comment );
do_meta_boxes(null, 'normal', $comment);
+$referer = wp_get_referer();
?>