#29080 closed defect (bug) (fixed)
Media Trash is broken in WordPress 4.0-beta2-20140730
| Reported by: | dglingren | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Media | Version: | 4.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related: [28788] for #21963.