WordPress.org

Make WordPress Core

Opened 4 weeks ago

Last modified 2 weeks ago

#49583 new enhancement

Media Library in SubFolder, when Organize by Mo/Yr is deactivated

Reported by: splaquet Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: Cc:

Description

I'd like to suggest that an additional folder is added to the /uploads folder, for /media_library uploads. If not for all media uploads, then at least for when Mo/Yr Media organization is disabled.

I've worked on several projects where there are simply not going to be very many media files. In effect, I'll deactivate the "Organize my uploads into month- and year-based folders" checkbox/feature. BUT, even if there are only 4 dozen images uploads, that ends up creating = 12 x 4 x (image sizes per theme settings). Those 48 photos can quickly turn into a few hundred, diluting the convenience of quickly referencing /wp-content/uploads.

Today, several plugins/addons store files/folders within the Uploads folder. This probably wasn't an issue years ago, but today it creates a mess of files in /uploads. Between all of these factors, it's not nearly as "clean" in /uploads as it once used to be.

my .02

Change History (4)

#1 @sabernhardt
3 weeks ago

Hi @splaquet and welcome to Trac!

I've used the upload_dir filter to customize the upload directory before. And at least one plugin—I found Custom Upload Dir— offers a friendlier way to organize files into subfolder(s).

#2 @splaquet
3 weeks ago

well... i realize that there are a number of methods to work around the media file dump in the /uploads folder. but, wouldn't it make more sense to have native WP functionality that was already aware of that, as to not throw off any developers "assumptions".

on the flip side, since the override functionality is already present, it would seem easy enough (to me at least) to include reverse logic for legacy WP installs.

This ticket was mentioned in Slack in #accessibility by afercia. View the logs.


2 weeks ago

#4 @afercia
2 weeks ago

  • Focuses accessibility removed
  • Severity changed from minor to normal

This ticket was discussed during today's accessibility bug-scrub: agreed to remove the accessibility focus as this issue doesn't appear to be strictly related to web accessibility.

Note: See TracTickets for help on using tickets.