Bugfix: Used wrong date format for database

This commit is contained in:
Florian Ludwig 2015-11-20 18:09:47 +01:00
parent 787ebb0ef5
commit 1d87c0c827
1 changed files with 1 additions and 1 deletions

View File

@ -1324,7 +1324,7 @@ class WC_Meta_Box_Product_Data {
} else {
$modified_date = current_time( 'timestamp' );
$modified_date = date_i18n( 'Y-m-d H:i:s', current_time( 'timestamp' ) );
$wpdb->update( $wpdb->posts, array(
'post_status' => $post_status,