diff -r c7c34916027a -r 177826044cd9 wp/wp-admin/edit-form-comment.php --- a/wp/wp-admin/edit-form-comment.php Mon Oct 14 18:06:33 2019 +0200 +++ b/wp/wp-admin/edit-form-comment.php Mon Oct 14 18:28:13 2019 +0200 @@ -7,11 +7,12 @@ */ // don't load directly -if ( !defined('ABSPATH') ) - die('-1'); +if ( ! defined( 'ABSPATH' ) ) { + die( '-1' ); +} ?>
-comment_ID) ?> +comment_ID ); ?>

@@ -25,7 +26,7 @@ comment_post_ID > 0 ) : $comment_link = get_comment_link( $comment ); -?> + ?>
-

+

@@ -96,13 +106,15 @@ /* translators: Publish box date format, see https://secure.php.net/date */ $datef = __( 'M j, Y @ H:i' ); ?> - +' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '' ); -?> +?> +
@@ -113,7 +125,7 @@ comment_post_ID; if ( current_user_can( 'edit_post', $post_id ) ) { - $post_link = ""; + $post_link = ""; $post_link .= esc_html( get_the_title( $post_id ) ) . ''; } else { $post_link = esc_html( get_the_title( $post_id ) ); @@ -121,29 +133,35 @@ ?>
- ' . $post_link . '' - ); ?> + ); + ?>
comment_parent ) : - $parent = get_comment( $comment->comment_parent ); + $parent = get_comment( $comment->comment_parent ); if ( $parent ) : $parent_link = esc_url( get_comment_link( $parent ) ); $name = get_comment_author( $parent ); - ?> + ?>
- ' . $name . '' - ); ?> + ); + ?>
- +
@@ -163,7 +181,7 @@
-comment_ID&_wp_original_http_referer=" . urlencode(wp_get_referer()), 'delete-comment_' . $comment->comment_ID) . "'>" . ( !EMPTY_TRASH_DAYS ? __('Delete Permanently') : __('Move to Trash') ) . "\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"; ?>
@@ -177,7 +195,7 @@
- - + + - +
@@ -210,4 +228,5 @@ -