[wp-trac] [WordPress Trac] #34731: Need method to revert "comment" field position

WordPress Trac noreply at wordpress.org
Fri Nov 20 18:20:42 UTC 2015


#34731: Need method to revert "comment" field position
-----------------------------------+-----------------------------
 Reporter:  greenshady             |       Owner:  SergeyBiryukov
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.4
Component:  Comments               |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 [attachment:34731.4.patch] adjusts the docs to better describe the current
 behaviour. It's not very consistent, but it's what we have:

 * `$comment_notes_before` argument is displayed before the comment fields
 (including 'Comment'), *if the user is not logged in*.
 * `$comment_notes_after` argument is displayed after the 'Comment' field.
 * `comment_form_before_fields` action fires before the comment fields
 (excluding 'Comment').
 * `comment_form_after_fields` action fires after the comment fields
 (excluding 'Comment').

 @DrewAPicture: Do you think some of this needs additional clarification?

 @greenshady: Would this approach work for you?

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


More information about the wp-trac mailing list