[wp-trac] [WordPress Trac] #20725: Media library inconsistency
WordPress Trac
wp-trac at lists.automattic.com
Tue May 22 10:26:46 UTC 2012
#20725: Media library inconsistency
-------------------------+-----------------------------
Reporter: thomask | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.3.2
Severity: normal | Keywords:
-------------------------+-----------------------------
I need to put extra filters using restrict_manage_posts to Media library
and i have noticed, that my filters did not appear on Media library
iframe, opened when adding new media in post. It is handled with wp-
admin/includes/media.php via media_upload_library_form function, which
seems to be very old comparing to media library in class-wp-media-list-
table
e.g. it does not use $this->months_dropdown( 'attachment' ); but wrotes
25 rows of code which do the same.
IMO it could be migrated to the new code
also it misses the
do_action( 'restrict_manage_posts' );
line, which is important for my desired functionality (when i hardcode it
there, it works)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20725>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list