WordPress.org

Make WordPress Core

Ticket #13733: allow-main-site-upload-access.13733.diff

File allow-main-site-upload-access.13733.diff, 455 bytes (added by filosofo, 5 years ago)
  • wp-admin/options-media.php

     
    100100<?php do_settings_fields('media', 'embeds'); ?> 
    101101</table> 
    102102 
    103 <?php if ( !is_multisite() ) : ?> 
     103<?php if ( ! is_multisite() || is_main_site() ) : ?> 
    104104<h3><?php _e('Uploading Files'); ?></h3> 
    105105<table class="form-table"> 
    106106<tr valign="top">