Opened 13 years ago
Closed 13 years ago
#20622 closed enhancement (fixed)
Update phpdoc for register_post_type()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.4 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Inline Docs | Keywords: | has-patch |
Focuses: | Cc: |
Description
The phpdoc for register_post_type()
can often be a source of confusion in its current state.
This patch cleans things up and attempts to better clarify the arguments without going in to too much detail.
A refresh to Codex has also just been made to reflect the clarifications made in this patch - http://codex.wordpress.org/Function_Reference/register_post_type
Attachments (2)
Change History (7)
Note: See
TracTickets for help on using
tickets.
Good first effort. "public - Whether posts of this type should be shown in the admin UI. Defaults to false." is still incorrect, I think.