[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 04:33:39 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
--------------------------+------------------------

Comment (by peterwilsoncc):

 In [changeset:"60170" 60170]:
 {{{
 #!CommitTicketReference repository="" revision="60170"
 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].

 Props audrasjb, desrosj, jeremyfelt, johnjamesjacoby, jorbin, presskopp,
 verygoode, dd32, joemcgill.
 See #36803.
 Fixes #63285.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/36803#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list