[wp-trac] [WordPress Trac] #36803: ms-files.php: inconsistent behaviour for upload visibility on archived sites
WordPress Trac
noreply at wordpress.org
Tue Mar 11 11:38:14 UTC 2025
#36803: ms-files.php: inconsistent behaviour for upload visibility on archived
sites
--------------------------+------------------------
Reporter: antwortzeit | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.8
Component: Media | Version: 4.5.2
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
--------------------------+------------------------
Changes (by audrasjb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"59967" 59967]:
{{{
#!CommitTicketReference repository="" revision="59967"
Media: Allow super-admin to access files of archived sites.
This changeset fixes an issue in multisite installations where archived
sites remain accessible to network administrators, but the associated
files do not. The previous implementation was checking if the blog is
archived, marked as spam, or deleted, to subsequently return a 404 error
for file requests. However, this did not account for network
administrators who should retain access to these files.
Props antwortzeit, jeremyfelt, debarghyabanerjee, audrasjb.
Fixes #36803.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36803#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list