WordPress.org

Make WordPress Core

Ticket #13479: media.diff

File media.diff, 512 bytes (added by tmoorewp, 8 years ago)
  • media.php

     
    14341434<?php
    14351435// Check quota for this blog if multisite
    14361436if ( is_multisite() && !is_upload_space_available() ) {
    1437         echo '<p>' . __('Sorry, you must delete files before you can upload any more.') . '</p>';
     1437        $file_upload_max_message = get_site_option( 'file_upload_max_message' );
     1438        echo '<p>' . __( $file_upload_max_message ) . '</p>';
    14381439        return;
    14391440}
    14401441