[wp-trac] [WordPress Trac] #19893: get_comments_link() doesn't link properly if there are no responses
WordPress Trac
noreply at wordpress.org
Sat Sep 12 07:35:08 UTC 2015
#19893: get_comments_link() doesn't link properly if there are no responses
-------------------------+-----------------------------
Reporter: cgrymala | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Comments | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"34075"]:
{{{
#!CommitTicketReference repository="" revision="34075"
Comments: `get_comments_link()` should return a link with `#respond` as
the hash instead of `#comments` if `get_comments_number()` returns `0`.
Props cgrymala, wonderboymusic.
Fixes #19893.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19893#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list