Opened 11 years ago
Closed 11 years ago
#26698 closed defect (bug) (fixed)
Improve Documentation of add_meta_box()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | docs | Cc: |
Description
The DocBlocks for add_meta_box
do not mention side
as an acceptable $context
value; Codex does. The attached patch fixes this discrepancy.
Attachments (3)
Change History (9)
#3
@
11 years ago
The only weird thing about this is that these contexts are specified by the particular screen. They are arbitrary. Some pages that implement meta boxes won't have "advanced" and some won't have "side". Not sure what do here, but perhaps it could be made clear hat those are for the post edit screen. We could even spell out the comments screen (normal/side I think) which is the only other core screen (except the dashboard) that uses meta boxes, I think.
Note: See
TracTickets for help on using
tickets.
Might as well fix the rest of the phpdoc while we're in there. This is done in 26698.diff