[wp-trac] [WordPress Trac] #64248: REST API: Logic to only change comment status never runs

WordPress Trac noreply at wordpress.org
Tue Jan 27 03:23:57 UTC 2026


#64248: REST API: Logic to only change comment status never runs
----------------------------------------+------------------------------
 Reporter:  Mamaduka                    |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  REST API                    |     Version:  4.7
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+------------------------------
Changes (by heetwp):

 * keywords:  needs-patch needs-unit-tests => needs-unit-tests has-patch


Comment:

 Patch attached. Fixes REST API logic where status-only comment updates
 never ran. Includes unit test. Tested locally.

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


More information about the wp-trac mailing list