[wp-trac] [WordPress Trac] #47862: PHPDoc correction for get_post_type_archive_feed_link in wp-includes/link-template.php

WordPress Trac noreply at wordpress.org
Sun Aug 11 07:06:19 UTC 2019


#47862: PHPDoc correction for get_post_type_archive_feed_link in wp-includes/link-
template.php
-------------------------------+-----------------------------
 Reporter:  atachibana         |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  minor              |   Keywords:
  Focuses:  docs               |
-------------------------------+-----------------------------
 Enhanced missing information of Codex for get_post_type_archive_feed_link
 in wp-includes/link-template.php

 - $feed parameter: Add 'If $feed is empty, the result of
 get_default_feed() is used (the default feed is 'rss2', unless it is
 changed via the default_feed filter). '

 Codex:
 https://codex.wordpress.org/Function_Reference/get_post_type_archive_feed_link
 Code Reference:
 https://developer.wordpress.org/reference/functions/get_post_type_archive_feed_link/

 This is the action of inline docs and Codex migration initiatives.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47862>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list