Opened 11 years ago
Closed 10 years ago
#28459 closed defect (bug) (fixed)
Improve wp.media documentation
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Media | Keywords: | has-patch commit |
Focuses: | javascript, docs | Cc: |
Description
Catch all ticket for me improving documentation in wp.media. Brisk review and acceptance appreciated.
Attachments (9)
Change History (31)
#5
@
11 years ago
- Boil down
wp.media()
description. Don't say that it opens a frame when it doesn't. - Fix up and add to
media.controller.Region
event documentation. - Add some
state
constructor descriptions. - Methods are mapped from a
StateMachine
to itsstates
collection, not the other way around. - More minutia in diff.
#6
@
11 years ago
- everything in attachment:28459.3.diff:
media.view.RouterItem.click
documentation
#10
@
11 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This ain't over till it's over
#11
@
11 years ago
In attachment:28459.5.diff add docs to media.view.MediaFrame.Select methods. Remove a couple @this context documentation bits which were incorrect.
#15
@
11 years ago
- Milestone changed from 4.0 to Future Release
I have a feeling this will be an ongoing effort.
#19
@
10 years ago
attachment:28459.8.diff supplants attachment:28459.7.diff.
#20
@
10 years ago
In attachment:28459.9.diff, add document the selection
attribute for media.controller.Library
constructor.
This supplants attachment:28459.8.diff.
Note: See
TracTickets for help on using
tickets.
First pass: attachment:28459.2.diff
sidebar
inmedia.controller.Library
defaults. (I'd guess sidebar was previously a region, which was consumed by AttachmentsBrowser at some point)Selection defaults
,Initial region modes
, andAttachments browser defaults
together in each state's constructor defaults.(Previously removed
describe
from a few constructors in attachment:28459.diff thinking it isn't used, but realized it is)