[wp-trac] [WordPress Trac] #36803: ms-files.php: inconsistent behaviour for upload visibility on archived sites

WordPress Trac noreply at wordpress.org
Fri Sep 16 05:31:37 UTC 2016


#36803: ms-files.php: inconsistent behaviour for upload visibility on archived
sites
--------------------------+-----------------------------
 Reporter:  antwortzeit   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  4.5.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  multisite
--------------------------+-----------------------------
Changes (by jeremyfelt):

 * milestone:  Awaiting Review => Future Release


Comment:

 Hi @antwortzeit, thanks for taking the time to open a ticket. We should be
 able to provide some more consistency here.

 It looks like the safest way would be to add an `is_super_admin()` check
 rather than rely on any other capabilities. Because `ms-files.php` uses
 `SHORTINIT`, some of our other options are limited.

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


More information about the wp-trac mailing list