WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#32658 new feature request

Post media attachments should show assigned media by default

Reported by: thomask Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.3
Component: Media Keywords: needs-patch
Focuses: Cc:

Description

When adding the attachments to post, the popup always starts with All media files as default, so that if i want to see attached media, i need to click the select, click the Assigned to post option and wait few secs. I really hate this behaviour, i would like to see assigned media first (if there are some allready asigned). The problem is, that it is not easy to change it, without hacking the core code - the only way is to add some javascript, that changes the value after page load, but theese solutions are not trivial and buggy (http://wordpress.stackexchange.com/questions/76125/change-the-default-view-of-media-library-in-3-5) Maybe other people want different default option (i have seen a post of someone, who wanted "unassigned"), so I think the best would be, if the script would remember the last selected value, or if there would be some option, which to select by default or (and) if at least there would be some easy filter, which we could use to change the default

Change History (3)

#1 follow-up: @leemon
3 years ago

To get the behavior you want you can install the following plugin:

https://wordpress.org/plugins/default-media-uploader-view/

#2 in reply to: ↑ 1 @thomask
3 years ago

Replying to leemon:

To get the behavior you want you can install the following plugin:

https://wordpress.org/plugins/default-media-uploader-view/

thank you, i know there are such plugins and solutions, i have linked one in my original post, but they are all very complicated for this simple need of changing one default option for one select. And even this plugin got one disadvantage, that when there is no media asigned, it show "nothing here" page, imo optimum default should be to show asigned (if any) or all, or all with asigned at the begining, but some might prefer something else.

#3 @wonderboymusic
3 years ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.