From 261a876e31e03c1bcc4d32f4b7ab5dd4a67cf5c1 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sun, 30 Mar 2008 06:00:59 +0000 Subject: [PATCH] Update timestamp when only the minute value is changed. props johnconners. fixes #6456 for trunk git-svn-id: https://develop.svn.wordpress.org/trunk@7570 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 2ee6210b5b..84227bd532 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -74,7 +74,7 @@ function edit_post() { if (!isset( $_POST['ping_status'] )) $_POST['ping_status'] = 'closed'; - 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;