[wp-trac] [WordPress Trac] #21390: Upload/Insert media revamp

WordPress Trac noreply at wordpress.org
Fri Oct 19 02:03:04 UTC 2012


#21390: Upload/Insert media revamp
----------------------------+--------------------------
 Reporter:  nacin           |       Owner:  koopersmith
     Type:  task (blessed)  |      Status:  accepted
 Priority:  high            |   Milestone:  3.5
Component:  Media           |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------------

Comment (by deltafactory):

 Noticing that `wp_plupload_default_settings()` is called twice in `/wp-
 admin/post.php`
 * `/wp-admin/edit-form-advanced.php`, line 23 and
 * `/wp-includes/media.php`, line 388 in `media_buttons()`

 Not sure if there's an easy way to consolidate these calls into one
 through a hook or script enqueue, similar to `add_thickbox()`.

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


More information about the wp-trac mailing list