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

WordPress Trac noreply at wordpress.org
Wed Nov 18 20:52:36 UTC 2015


#34731: Need method to revert "comment" field position
--------------------------+-----------------------------
 Reporter:  greenshady    |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In #29974, we fixed a bug where the focus handle jumped to the incorrect
 field when replying to a comment.  This was eventually correctly fixed by
 fixing the JavaScript.

 During the course of that ticket's lifespan, a call was made to move the
 "comment" field above the other form fields (see [34525]).  This
 particular change did not directly correct the issue.  It was a Band-Aid
 for a larger issue that was fixed later in the ticket.

 This changed the HTML structure entirely from something we've had for
 something like 10 years to something new.  It's a welcoming change in many
 respects.

 However, such changes should give theme or plugin developers the ability
 to revert the output to the original.  This can be done either via a hook
 or an argument for `comment_form()`.  If neither solution is acceptable,
 we should revert that particular change until a better solution comes
 along.

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


More information about the wp-trac mailing list