[wp-trac] [WordPress Trac] #11408: Add Media should open Gallery if media is already uploaded

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 12 23:49:05 UTC 2009


#11408: Add Media should open Gallery if media is already uploaded
--------------------------+-------------------------------------------------
 Reporter:  caesarsgrunt  |       Owner:     
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Media         |     Version:  2.9
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------

Comment(by scribu):

 Replying to [comment:2 azaozz]:
 > Actually that's easy to do: add `&tab=library` to the button's href
 (from a plugin). The whole uploader UI will likely change in the Media
 update so this would probably be handled too.

 True. I was thinking about this usecase:

 1. User edits a post with no images in the gallery (the url is
 &tab=upload)

 2. User adds an image to the gallery and then closes the box

 3. User clicks the Add Image button again (the url will still be
 &tab=upload)

 You would have to change the URL through JS just after the first image is
 added to the gallery.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11408#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list