Changeset 29337
- Timestamp:
- 08/01/2014 03:14:56 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r29318 r29337 3147 3147 3148 3148 $post_status = empty( $postarr['post_status'] ) ? 'draft' : $postarr['post_status']; 3149 if ( 'attachment' === $post_type && ! in_array( $post_status, array( 'inherit', 'private' ) ) ) {3149 if ( 'attachment' === $post_type && ! in_array( $post_status, array( 'inherit', 'private', 'trash' ) ) ) { 3150 3150 $post_status = 'inherit'; 3151 3151 }
Note: See TracChangeset
for help on using the changeset viewer.