[wp-trac] [WordPress Trac] #50545: Improve DocBlock description of is_archive()

WordPress Trac noreply at wordpress.org
Fri Jul 3 06:52:34 UTC 2020


#50545: Improve DocBlock description of is_archive()
-------------------------------+-----------------------------
 Reporter:  stevenlinx         |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:
 Severity:  normal             |   Keywords:  needs-patch
  Focuses:  docs               |
-------------------------------+-----------------------------
 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/

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


More information about the wp-trac mailing list