Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#20725 closed enhancement (invalid)

Media library inconsistency

Reported by: thomask Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.3.2
Component: Media Keywords: reporter-feedback
Focuses: Cc:


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)

Change History (3)

#1 @iseulde
5 years ago

  • Component changed from General to Media

#2 @helen
5 years ago

  • Keywords reporter-feedback added

How does this work out with the new media library? Not really sure what you're after, but I could just not be understanding something.

#3 @ocean90
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

The old media iframe is deprecated, so no changes there anymore.

Note: See TracTickets for help on using tickets.