[wp-trac] [WordPress Trac] #36803: ms-files.php: inconsistent behaviour for upload visibility on archived sites
WordPress Trac
noreply at wordpress.org
Wed Apr 16 22:21:18 UTC 2025
#36803: ms-files.php: inconsistent behaviour for upload visibility on archived
sites
-----------------------------+------------------------
Reporter: antwortzeit | Owner: audrasjb
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.9
Component: Media | Version: 4.5.2
Severity: normal | Resolution:
Keywords: has-patch close | Focuses: multisite
-----------------------------+------------------------
Comment (by peterwilsoncc):
In [changeset:"60171" 60171]:
{{{
#!CommitTicketReference repository="" revision="60171"
Media: Prevent Multisite fatal error in legacy file rewrites.
Removes a call to the `is_super_admin()` function in `ms-files.php` as the
function isn't available when using the `SHORTINIT` feature, causing fatal
errors on systems using file rewrites.
Reverts [59967].
Reviewed by jorbin.
Merges [60170] to the 6.8 branch.
Props audrasjb, desrosj, jeremyfelt, johnjamesjacoby, jorbin, presskopp,
verygoode, dd32, joemcgill.
See #36803.
Fixes #63285.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36803#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list