WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#10084 closed defect (bug) (worksforme)

Reply to (author) does not display with comment_form_title

Reported by: bobjones Owned by: westi
Milestone: Priority: normal
Severity: normal Version: 2.7.1
Component: Comments Keywords:
Focuses: Cc:

Description

Value of replytocom not being passed to comment_form_title function. As a result, the heading of the comment form is not being changed from the default text that is specified for it.

Instead of "Reply to (author)" appearing (second parameter in comment_form_title), the first, generic parameter -- "Leave a reply" -- appears.

The only way to make "Reply to (author)" appear successfully is to open the "Reply" link in a new tab.

Discussion:
http://wordpress.org/support/topic/225225?replies=8#post-1095665

A bug report was previously opened on this issue and quickly closed with no positive resolution.

The problem exists. Please fix it, or provide an explanation!

Change History (3)

comment:1 westi5 years ago

  • Component changed from General to Comments
  • Keywords needs-patch added
  • Milestone changed from Unassigned to 2.9
  • Owner set to westi
  • Status changed from new to accepted

comment:2 nacin4 years ago

  • Keywords comments replies needs-patch removed
  • Milestone 2.9 deleted
  • Resolution set to worksforme
  • Status changed from accepted to closed

See #8639 and http://codex.wordpress.org/Template_Tags/comment_form_title. The "Reply to (author)" change requires JavaScript.

Closing pending further feedback.

comment:3 nacin4 years ago

Sorry, requires JavaScript to be disabled.

In the default theme, when you click "Reply", it moves the comment form to the comment. Thus, "Reply to (author)" is unnecessary.

On the other hand, if you open it in a new window, then the comment form stays where it is, but comment_form_title recognizes $_GETreplytocom? and adds "Reply to (author)".

Note: See TracTickets for help on using tickets.