Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#21296 closed enhancement (duplicate)

Media Library: Search all post types when attaching detached files

Reported by: abaumg Owned by:
Priority: normal Milestone:
Component: Media Version:
Severity: normal Keywords:
Cc: Focuses:

Description

When attaching detached files in the Media Library, one is provided a search box.

Sometimes one might want to search all post types, especially when there are a lot of custom post types.

My patch adds an option named "All" which does exactly the above.

Attachments (3)

before.png​ (10.9 KB ) - added by abaumg 14 years ago.
Search box, before
after.png​ (10.9 KB ) - added by abaumg 14 years ago.
Search box, after
21296.patch​ (2.3 KB ) - added by abaumg 14 years ago.

Download all attachments as: .zip

Change History (6)

@abaumg
14 years ago

Search box, before

@abaumg
14 years ago

Search box, after

#1 @abaumg
14 years ago

Before:

Search box, before

After:

Search box, after

#2 @markoheijnen
14 years ago

BTW the patch is incorrect since will be more then that. Any should load all the post types with show_ui == true. Related to that one: #20164

#3 @ocean90
14 years ago

  • Keywords has-patch removed
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → closed
  • Version 3.4.1

Duplicate of #20164.

Note: See TracTickets for help on using tickets.