[wp-trac] [WordPress Trac] #33775: comment_form() Leave a Reply heading level can't be changed

WordPress Trac noreply at wordpress.org
Fri Sep 18 13:08:18 UTC 2015


#33775: comment_form() Leave a Reply heading level can't be changed
--------------------------+----------------------------
 Reporter:  afercia       |       Owner:  afercia
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.4
Component:  Comments      |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  accessibility
--------------------------+----------------------------

Comment (by tyxla):

 Cool idea.

 I suggest that we implement that by adding 2 additional `comment_form()`
 args: `title_reply_before` and `title_reply_after`.

 This would allow the user to:

 * Specify these args when calling `comment_form()`;
 * Filter the default arg values, using the `comment_form_defaults` filter;
 * Completely modify the reply title HTML, not only the heading - sometimes
 the ID or class might need to be altered.

 Patch coming up.

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


More information about the wp-trac mailing list