[wp-trac] [WordPress Trac] #35624: Use of get_comment() function shows Notice
WordPress Trac
noreply at wordpress.org
Fri Feb 12 04:09:49 UTC 2016
#35624: Use of get_comment() function shows Notice
--------------------------+---------------------------
Reporter: WisdmLabs | Owner: boonebgorges
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4.3
Component: Comments | Version: 4.4
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+---------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"36512"]:
{{{
#!CommitTicketReference repository="" revision="36512"
Set the `$comment` global in `comment_form_title()`.
In [33963], `comment_form_title()` was refactored so that it no longer
made
reference to the `$comment` global. This broke some functionality within
the
comment form, as certain template would no longer be able to access the
"current" comment.
Props d4z_c0nf, WisdmLabs, boonebgorges.
Fixes #35624.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35624#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list