[wp-trac] [WordPress Trac] #22504: Custom Header should reuse existing media frame

WordPress Trac noreply at wordpress.org
Mon Nov 19 11:02:04 UTC 2012


#22504: Custom Header should reuse existing media frame
-----------------------+--------------------------
 Reporter:  duck_      |       Type:  defect (bug)
   Status:  new        |   Priority:  normal
Milestone:  3.5        |  Component:  Media
  Version:             |   Severity:  normal
 Keywords:  has-patch  |
-----------------------+--------------------------
 Unlike custom-background.js, custom-header.js doesn't attempt to reuse an
 existing media frame. See [22502] and [22505].

 This causes strange behaviour when closing and re-opening the media modal,
 e.g.

  1. Click "Choose Image"
  1. Close the modal
  1. Click "Choose Image"
  1. Attempt to go to the "Upload Files" tab

 Expected: go to upload files

 Actual: file browser opens because a new uploader instance was created
 with no left/bottom positioning CSS and blocks the link text

 (NB: this missing CSS when multiple uploaders are created sounds like a
 potential issue elsewhere too)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22504>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list