[wp-trac] [WordPress Trac] #37826: Can't manage comments of trashed posts

WordPress Trac noreply at wordpress.org
Wed Oct 5 15:29:00 UTC 2016


#37826: Can't manage comments of trashed posts
-------------------------------------------------+-------------------------
 Reporter:  swissspidy                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Comments                             |  Release
 Severity:  normal                               |     Version:
 Keywords:  has-screenshots good-first-bug has-  |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 Well, now your new patch makes more sense. `$_GET['post_status'] ==
 'trash'` should be `'trash' === get_post_status( $post_id )` though.

 The experience is still not ideal when going to the comments page of that
 post directly, e.g. `/wp-admin/comment.php?action=editcomment&c=6`. Doing
 that should not simply show an empty list table. I didn't propose any
 specific solution for that as I was merely throwing around some ideas. A
 simple solution would probably be showing an error message in that
 scenario.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37826#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list