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

WordPress Trac noreply at wordpress.org
Thu Oct 3 17:26:00 UTC 2019


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

Comment (by birgire):

 Regarding the wording of:

 {{{
 You can’t operate on this comment because the associated post is in
 the Trash. Please restore the post first, then try again.

 }}}

 I wonder if we should replace {{{operate}}} with {{{edit}}} as the action
 is {{{editcomment}}} and also to have it in line with the other similar
 messages:

 {{{
 You can’t edit this attachment because it is in the Trash. Please
 move it out of the Trash and try again.
 }}}

 and

 {{{
 You can’t edit this item because it is in the Trash. Please restore
 it and try again.
 }}}

 Probably better considered in another ticket, but I think it would be
 helpful to have a link to the corresponding item in the Trash list table,
 within the message, so it becomes easier to find the trashed item.

 Currently one can filter the list tables by a single post ID with the
 {{{subpost_id}}} query variable but it seems to be related to
 {{{attachment_id}}} and is deprecated according to
 https://core.trac.wordpress.org/ticket/38283#comment:2

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


More information about the wp-trac mailing list