[wp-trac] [WordPress Trac] #15947: `register_post_status` inline docs are inaccurate

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 22 14:04:56 UTC 2010


#15947: `register_post_status` inline docs are inaccurate
---------------------------+-----------------------------
 Reporter:  simonwheatley  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Inline Docs    |    Version:  3.1
 Severity:  normal         |   Keywords:  has-patch
---------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15947>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list