[wp-trac] [WordPress Trac] #60549: "Site Upload Quota Space" should indicate network default and possibly site's current usage
WordPress Trac
noreply at wordpress.org
Tue Mar 4 08:48:42 UTC 2025
#60549: "Site Upload Quota Space" should indicate network default and possibly
site's current usage
-------------------------------------+------------------------
Reporter: MadtownLems | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.9
Component: Networks and Sites | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: multisite
-------------------------------------+------------------------
Comment (by lenasterg):
Hi.
If I understand correctly, your only concern is that it appears as a
notice in the Media Gallery.
This is easy to change in the proposed patch.
Would you agree if I remove the following from the proposed patch?
{{{#!php
add_action( 'load-upload.php',
'upload_page_notice_display_space_usage_notice' );
}}}
https://github.com/WordPress/wordpress-
develop/blob/140d05bdce4ee58aeffabe3ef41d11041bfed248/src/wp-
admin/includes/ms-admin-filters.php#L13
Along with the related functions:
- `upload_page_notice_display_space_usage_notice()`
- `display_space_usage_notice()`
https://github.com/WordPress/wordpress-
develop/blob/140d05bdce4ee58aeffabe3ef41d11041bfed248/src/wp-
admin/includes/ms.php#L281
What do you think, about it?
Replying to [comment:11 MadtownLems]:
> > I understand the concern about notices at the top of the Media
Library. However, it’s placed where users expect to find storage-related
information, making it easier to manage upload space without having to
navigate elsewhere. I believe it provides value by being contextually
relevant rather than disruptive.
>
> My suggestion is to only display it here when the quota is approaching
full. There's little value in mentioning the space quota if they're
using, say, 5% of it. I would definitely argue that's it's disruptive,
rather than helpful, in that case. Perhaps if it was only displayed when
it's becoming a concern; something like when 90% or more of the site's
storage space is used.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60549#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list