diff -r 3d4e9c994f10 -r a86126ab1dd4 wp/wp-admin/edit-form-comment.php --- a/wp/wp-admin/edit-form-comment.php Tue Oct 22 16:11:46 2019 +0200 +++ b/wp/wp-admin/edit-form-comment.php Tue Dec 15 13:49:49 2020 +0100 @@ -6,7 +6,7 @@ * @subpackage Administration */ -// don't load directly +// Don't load directly. if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } @@ -87,32 +87,53 @@
-

+

-
+
+ +comment_approved ) { + case '1': + _e( 'Approved' ); + break; + case '0': + _e( 'Pending' ); + break; + case 'spam': + _e( 'Spam' ); + break; +} +?> + + +


+
comment_date ) ), + /* translators: Publish box time format, see https://www.php.net/date */ + date_i18n( _x( 'H:i', 'publish box time format' ), strtotime( $comment->comment_date ) ) +); ?> ' . date_i18n( $datef, strtotime( $comment->comment_date ) ) . '' -); +/* translators: %s: Comment date. */ +printf( __( 'Submitted on: %s' ), '' . $submitted . '' ); ?> @@ -135,7 +156,7 @@
' . $post_link . '' ); @@ -152,7 +173,7 @@
' . $name . '' ); @@ -169,8 +190,8 @@ * * @since 4.3.0 * - * @param string $html Output HTML to display miscellaneous action. - * @param object $comment Current comment object. + * @param string $html Output HTML to display miscellaneous action. + * @param WP_Comment $comment Current comment object. */ echo apply_filters( 'edit_comment_misc_actions', '', $comment ); ?>