[wp-trac] [WordPress Trac] #23115: Refactor wp.media.gallery.attachments to accept an array of attachment ids rather than shortcode

WordPress Trac noreply at wordpress.org
Sun Feb 2 08:42:13 UTC 2014


#23115: Refactor wp.media.gallery.attachments to accept an array of attachment ids
rather than shortcode
-------------------------+----------------------
 Reporter:  nd987        |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:
-------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report. That function is a helper for
 `wp.media.gallery.edit()`, it is not really intended to be used for
 general-use querying. `wp.media.query()` will do that.

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


More information about the wp-trac mailing list