[wp-trac] [WordPress Trac] #29080: Media Trash is broken in WordPress 4.0-beta2-20140730

WordPress Trac noreply at wordpress.org
Thu Jul 31 23:33:54 UTC 2014


#29080: Media Trash is broken in WordPress 4.0-beta2-20140730
--------------------------+-----------------------------
 Reporter:  dglingren     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29080>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list