#29080 closed defect (bug) (fixed)
Media Trash is broken in WordPress 4.0-beta2-20140730
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 4.0 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
The "Media Trash" feature no longer works because of a change in /wp-includes/post.php, function wp_insert_post.
At line 3149-3151 $post_status "trash" is lost because of new attachment-specific code that forces it back to "inherit".
Adding 'trash' to the list of acceptable status values corrects the problem.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Related: [28788] for #21963.