#26683 closed defect (bug) (fixed)
Improve Documentation of add_post_type_support()
| Reported by: | philiparthurmoore | Owned by: | DrewAPicture |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | docs |
Description
The DocBlocks for add_post_type_support do not mention post-formats; Codex does. The attached patch fixes this discrepancy.
Attachments (3)
Change History (11)
#4
@
13 years ago
Normally I would be in favor of moving the list of possible values into the parameter description they belong to, but I think in this instance the placement in the long description is better as it allows for more detailed explanation.
In 26683.diff I fixed a few other things in the phpdoc since we're in there.
#5
@
13 years ago
- Keywords commit added
26683.2.diff adds the 'core' keyword to the description. It's possible to add non-core features to post types and themes, though not directly supported.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
moar phpdoc fixes