[wp-trac] [WordPress Trac] #47024: (Comments REST API) Contributor can't update/delete own comment

WordPress Trac noreply at wordpress.org
Tue Oct 8 02:55:09 UTC 2019


#47024: (Comments REST API) Contributor can't update/delete own comment
-----------------------------------------------+-------------------------
 Reporter:  meloniq                            |       Owner:  kadamwhite
     Type:  defect (bug)                       |      Status:  accepted
 Priority:  normal                             |   Milestone:  5.3
Component:  REST API                           |     Version:  5.1.1
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch needs-unit-tests commit  |     Focuses:  rest-api
-----------------------------------------------+-------------------------
Changes (by kadamwhite):

 * keywords:  has-patch needs-unit-tests => has-patch needs-unit-tests
               commit
 * owner:  (none) => kadamwhite
 * status:  new => accepted


Comment:

 While it doesn't seem like the logic error here is strictly as-described
 in the original post, per the follow-up indicating the new comment to
 address the original described issue. However, this seems like a
 reasonable change to improve handling of comment editing for requests
 authenticated as moderator-level users.

 In the absence of any active comments component maintainers I'm going to
 commit this for 5.3.

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


More information about the wp-trac mailing list