[wp-trac] [WordPress Trac] #63285: Call to undefined function is_super_admin() in /wp-includes/ms-files.php

WordPress Trac noreply at wordpress.org
Wed Apr 16 04:33:39 UTC 2025


#63285: Call to undefined function is_super_admin() in /wp-includes/ms-files.php
--------------------------------+----------------------------
 Reporter:  verygoode           |       Owner:  peterwilsoncc
     Type:  defect (bug)        |      Status:  closed
 Priority:  normal              |   Milestone:  6.8.1
Component:  Networks and Sites  |     Version:  trunk
 Severity:  major               |  Resolution:  fixed
 Keywords:  needs-patch         |     Focuses:  multisite
--------------------------------+----------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 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/63285#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list