Changeset 34762 for trunk/src/wp-includes/post-functions.php
- Timestamp:
- 10/02/2015 04:35:34 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-functions.php
r34746 r34762 3013 3013 */ 3014 3014 if ( empty( $postarr['post_date'] ) || '0000-00-00 00:00:00' == $postarr['post_date'] ) { 3015 $post_date = current_time( 'mysql' ); 3015 if ( empty( $postarr['post_date_gmt'] ) || '0000-00-00 00:00:00' == $postarr['post_date_gmt'] ) { 3016 $post_date = current_time( 'mysql' ); 3017 } else { 3018 $post_date = get_date_from_gmt( $postarr['post_date_gmt'] ); 3019 } 3016 3020 } else { 3017 3021 $post_date = $postarr['post_date'];
Note: See TracChangeset
for help on using the changeset viewer.