Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#29721 closed defect (bug) (fixed)

Improve inline docs for get_post_types()

Reported by: drewapicture's profile DrewAPicture Owned by: drewapicture's profile DrewAPicture
Milestone: 4.1 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch
Focuses: docs Cc:

Description

Attached patch fixes a typo in the get_post_types() docs and adds a description for the accepted values of the $operator parameter.

Attachments (1)

29721.diff (1.3 KB) - added by DrewAPicture 10 years ago.

Download all attachments as: .zip

Change History (2)

@DrewAPicture
10 years ago

#1 @DrewAPicture
10 years ago

  • Owner set to DrewAPicture
  • Resolution set to fixed
  • Status changed from new to closed

In 29752:

Add some missing information to the inline docs for get_post_types().

  • Improves the @see reference for register_post_type() to mention that it contains information about accepted arguments
  • Adds a description of the accepted values for the $operator parameter
  • Fixes a typo

Fixes #29721.

Note: See TracTickets for help on using tickets.