Changeset 42228 for trunk/src/wp-includes/post.php
- Timestamp:
- 11/26/2017 11:56:25 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r42227 r42228 3631 3631 // Passed post category list overwrites existing category list if not empty. 3632 3632 if ( isset($postarr['post_category']) && is_array($postarr['post_category']) 3633 3633 && 0 != count($postarr['post_category']) ) 3634 3634 $post_cats = $postarr['post_category']; 3635 3635 else … … 3638 3638 // Drafts shouldn't be assigned a date unless explicitly done so by the user. 3639 3639 if ( isset( $post['post_status'] ) && in_array($post['post_status'], array('draft', 'pending', 'auto-draft')) && empty($postarr['edit_date']) && 3640 3640 ('0000-00-00 00:00:00' == $post['post_date_gmt']) ) 3641 3641 $clear_date = true; 3642 3642 else
Note: See TracChangeset
for help on using the changeset viewer.