Opened 14 years ago
Closed 14 years ago
#20622 closed enhancement (fixed)
Update phpdoc for register_post_type()
| Reported by: | jeremyfelt | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Inline Docs | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Good first effort. "public - Whether posts of this type should be shown in the admin UI. Defaults to false." is still incorrect, I think.