Changeset 46279 for trunk/src/wp-includes/post.php
- Timestamp:
- 09/23/2019 09:01:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r46275 r46279 3728 3728 3729 3729 if ( empty( $postarr['post_date_gmt'] ) || '0000-00-00 00:00:00' == $postarr['post_date_gmt'] ) { 3730 if ( ! in_array( $post_status, array( 'draft', 'pending', 'auto-draft' )) ) {3730 if ( ! in_array( $post_status, get_post_stati( array( 'date_floating' => true ) ), true ) ) { 3731 3731 $post_date_gmt = get_gmt_from_date( $post_date ); 3732 3732 } else {
Note: See TracChangeset
for help on using the changeset viewer.