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
This commit is contained in:
parent
60c92aa470
commit
d7f9059180
|
@ -21,7 +21,7 @@ function edit_comment() {
|
||||||
$_POST['comment_content'] = $_POST['content'];
|
$_POST['comment_content'] = $_POST['content'];
|
||||||
$_POST['comment_ID'] = (int) $_POST['comment_ID'];
|
$_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] ) {
|
if ( !empty( $_POST['hidden_' . $timeunit] ) && $_POST['hidden_' . $timeunit] != $_POST[$timeunit] ) {
|
||||||
$_POST['edit_date'] = '1';
|
$_POST['edit_date'] = '1';
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue