[wp-trac] [WordPress Trac] #28459: Improve wp.media documentation

WordPress Trac noreply at wordpress.org
Thu Jun 5 00:29:51 UTC 2014


#28459: Improve wp.media documentation
-------------------------+------------------------------
 Reporter:  ericlewis    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:  3.5
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  javascript
-------------------------+------------------------------

Comment (by ericlewis):

 First pass: attachment:28459.2.diff

 * remove unused `sidebar` in `media.controller.Library` defaults. (I'd
 guess sidebar was previously a region, which was consumed by
 AttachmentsBrowser at some point)
 * group `Selection defaults`,  `Initial region modes`, and `Attachments
 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)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28459#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list