[wp-trac] [WordPress Trac] #29454: comments_link filter can not be run on comments_popup_link if post has no comments.
WordPress Trac
noreply at wordpress.org
Mon Sep 1 16:42:56 UTC 2014
#29454: comments_link filter can not be run on comments_popup_link if post has no
comments.
--------------------------+------------------------------
Reporter: joedolson | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: template
--------------------------+------------------------------
Comment (by SergeyBiryukov):
> Additionally, comments_link() is a deprecated function, so core
shouldn't be using it.
[source:tags/3.9.2/src/wp-includes/comment-template.php#L660
comments_link()] has two deprecated arguments, but the function itself is
not deprecated.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29454#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list