WordPress.org

Make WordPress Core

Opened 5 weeks ago

Last modified 10 days ago

#50545 reviewing defect (bug)

Improve DocBlock description of is_archive()

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

Description

The existing description mentioned "Month, Year, Category, Author, Post Type archive…"

It can be changed to:
"An Archive is a Category, Tag, Author, Date, Custom Post Type or Custom Taxonomy based pages."

Codex:
https://codex.wordpress.org/Function_Reference/is_archive

DevHub:
https://developer.wordpress.org/reference/functions/is_archive/

Attachments (1)

50545.diff (1.0 KB) - added by stevenlinx 5 weeks ago.

Download all attachments as: .zip

Change History (3)

@stevenlinx
5 weeks ago

#1 @stevenlinx
5 weeks ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
10 days ago

  • Milestone changed from Awaiting Review to 5.6
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.