[wp-trac] [WordPress Trac] #64049: REST API: Updating comment via REST does not respect allow_empty_comment filter

WordPress Trac noreply at wordpress.org
Mon Sep 29 15:29:10 UTC 2025


#64049: REST API: Updating comment via REST does not respect allow_empty_comment
filter
--------------------------+------------------------------
 Reporter:  kadamwhite    |       Owner:  kadamwhite
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by kadamwhite):

 Note from @rmccue, one concept in this endpoint (and the API generally) is
 that we should support sending partial documents for updates -- if the
 content is empty that could indicate "no update". In other words, an
 ''empty string'' may signal different intent than an ''unset key''

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


More information about the wp-trac mailing list