[wp-trac] [WordPress Trac] #60281: Cannot unset comment_notes_before

WordPress Trac noreply at wordpress.org
Thu Jan 18 17:02:39 UTC 2024


#60281: Cannot unset comment_notes_before
------------------------------+-----------------------------
 Reporter:  bugnumber9        |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Comments          |     Version:  3.0
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+-----------------------------

Comment (by bugnumber9):

 @shooper Looks like it's possible to unset all form fields (I just tested
 with `url` field) from `comment_form_defaults` too. Obviously, the same
 can be done from `comment_form_fields` for all fields except
 `comment_notes_before`.
 Besides that, `comment_notes_before` is listed in
 https://developer.wordpress.org/reference/functions/comment_form/ and
 HTML-wise it's a part of the form - https://imgur.com/a/3tH6JBN

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


More information about the wp-trac mailing list