WordPress.org

Make WordPress Core

Opened 2 weeks ago

Closed 2 weeks ago

#47862 closed defect (bug) (fixed)

PHPDoc correction for get_post_type_archive_feed_link in wp-includes/link-template.php

Reported by: atachibana Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: minor Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: docs Cc:

Description

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.

Attachments (1)

47862.diff (708 bytes) - added by atachibana 2 weeks ago.

Download all attachments as: .zip

Change History (4)

@atachibana
2 weeks ago

#1 @atachibana
2 weeks ago

  • Keywords has-patch added

#2 @SergeyBiryukov
2 weeks ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#3 @SergeyBiryukov
2 weeks ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 45781:

Docs: Improve documentation for various feed link functions and filters.

Props atachibana, SergeyBiryukov.
Fixes #47862.

Note: See TracTickets for help on using tickets.