[wp-trac] [WordPress Trac] #50248: post_comments_feed_link() missing Return inline doc
WordPress Trac
noreply at wordpress.org
Tue May 26 08:53:39 UTC 2020
#50248: post_comments_feed_link() missing Return inline doc
--------------------------+----------------------
Reporter: stevenlinx | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Comments | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch | Focuses: docs
--------------------------+----------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => invalid
* milestone: 5.5 =>
Comment:
Hi there, thanks for the patch!
`post_comments_feed_link()` [source:tags/5.4/src/wp-includes/link-
template.php?marks=773#L756 echoes for value] of
`get_post_comments_feed_link()`, and does not return it.
`get_post_comments_feed_link()` [source:tags/5.4/src/wp-includes/link-
template.php?marks=739#L721 already has a @return value], so the existing
documentation is correct.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50248#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list