WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 9 months 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:

Description

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)

comment:1 @iseulde21 months ago

  • Component changed from General to Media

comment:2 @helen21 months 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.

comment:3 @ocean909 months 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.