Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#29721 closed defect (bug) (fixed)

Improve inline docs for get_post_types()

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

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 12 years ago.

Download all attachments as: .zip

Change History (2)

#1 @DrewAPicture
12 years ago

  • Owner set to DrewAPicture
  • Resolution → fixed
  • Status new → 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.