[wp-trac] [WordPress Trac] #24648: Don't exclude uneditable comments in wp_ajax_get_comments

WordPress Trac noreply at wordpress.org
Fri May 27 14:09:32 UTC 2016


#24648: Don't exclude uneditable comments in wp_ajax_get_comments
--------------------------+--------------------------
 Reporter:  jfarthing84   |       Owner:  rachelbaker
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.6
Component:  Comments      |     Version:  3.3
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by rachelbaker):

 * owner:   => rachelbaker
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37584"]:
 {{{
 #!CommitTicketReference repository="" revision="37584"
 Comments: Display approved comments on the Edit Post screen to users
 without the `edit_comment` capability.

 Matches logic in `wp_dashboard_recent_comments()` where we display
 approved comments regardless of the edit permission.

 Props jfarthing84 for initial patch.
 Fixes #24648.
 }}}

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


More information about the wp-trac mailing list