From d7f9059180cf85f213d0884eb1b4dc65c9337652 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 7 Apr 2008 17:06:56 +0000 Subject: [PATCH] Update timestamp when only the minute value is changed. fixes #6456 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@7609 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/comment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/comment.php b/wp-admin/includes/comment.php index 5a2dd65737..72ebcd23e3 100644 --- a/wp-admin/includes/comment.php +++ b/wp-admin/includes/comment.php @@ -21,7 +21,7 @@ function edit_comment() { $_POST['comment_content'] = $_POST['content']; $_POST['comment_ID'] = (int) $_POST['comment_ID']; - foreach ( array ('aa', 'mm', 'jj', 'hh', 'mm') as $timeunit ) { + foreach ( array ('aa', 'mm', 'jj', 'hh', 'mn') as $timeunit ) { if ( !empty( $_POST['hidden_' . $timeunit] ) && $_POST['hidden_' . $timeunit] != $_POST[$timeunit] ) { $_POST['edit_date'] = '1'; break; @@ -93,4 +93,4 @@ if ( is_admin() && ('edit-comments.php' == $pagenow || 'edit.php' == $pagenow) ) add_filter( 'comment_author', 'floated_admin_avatar' ); } -?> \ No newline at end of file +?>