Update timestamp when only the minute value is changed. fixes #6456 for trunk

git-svn-id: http://svn.automattic.com/wordpress/trunk@7614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-04-07 17:19:43 +00:00
parent aad4350fb1
commit aeb2b5bf9f
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ function wp_write_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;