#26683 closed defect (bug) (fixed)
Improve Documentation of add_post_type_support()
Reported by: | philiparthurmoore | Owned by: | DrewAPicture |
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Posts, Post Types | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
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
@
11 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
@
11 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.
moar phpdoc fixes