Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15947 closed defect (bug) (fixed)

`register_post_status` inline docs are inaccurate

Reported by: simonwheatley Owned by:
Priority: normal Milestone: 3.1
Component: Inline Docs Version: 3.1
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

The current inline docs describe the public index of the optional arguments as "Whether posts of this status should be shown in the admin UI. Defaults to true.", whereas actually public controls whether a post is viewable on the public (i.e. front end) of the site. Attached diff corrects this and adds description for other optional args.

Attachments (1)

register_post_status docs.diff​ (1.1 KB ) - added by simonwheatley 16 years ago.
Corrects docs, adds additional information

Download all attachments as: .zip

Change History (3)

@simonwheatley
16 years ago

Corrects docs, adds additional information

#1 @nacin
16 years ago

  • Resolution → fixed
  • Status new → closed

(In [17158]) Correct the docs for register_post_status. fixes #15947, props simonwheatley.

#2 @nacin
16 years ago

  • Milestone Awaiting Review → 3.1
Note: See TracTickets for help on using tickets.