Changeset 28073 for branches/3.8/src/wp-admin/includes/post.php
- Timestamp:
- 04/11/2014 04:33:06 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8/src/wp-admin/includes/post.php
r27991 r28073 204 204 } 205 205 206 if ( ( empty( $post_data['action'] ) || 'autosave' != $post_data['action'] ) && 'auto-draft' == $post_data['post_status'] ) {207 $post_data['post_status'] = 'draft';208 }209 210 206 if ( isset($post_data['visibility']) ) { 211 207 switch ( $post_data['visibility'] ) { … … 227 223 if ( is_wp_error($post_data) ) 228 224 wp_die( $post_data->get_error_message() ); 225 226 if ( ( empty( $post_data['action'] ) || 'autosave' != $post_data['action'] ) && 'auto-draft' == $post_data['post_status'] ) { 227 $post_data['post_status'] = 'draft'; 228 } 229 229 230 230 // Post Formats
Note: See TracChangeset
for help on using the changeset viewer.