WordPress.org

Make WordPress Core

Ticket #21179: 21179-1.diff

File 21179-1.diff, 627 bytes (added by jkudish, 3 years ago)
  • wp-admin/includes/media.php

     
    13281328<?php 
    13291329// Check quota for this blog if multisite 
    13301330if ( is_multisite() && !is_upload_space_available() ) { 
    1331         echo '<p>' . sprintf( __( 'Sorry, you have filled your storage quota (%s MB).' ), get_space_allowed() ) . '</p>'; 
     1331        echo apply_filters( 'upload_over_quota_error_message', '<p>' . sprintf( __( 'Sorry, you have filled your storage quota (%s MB).' ), get_space_allowed() ) . '</p>' ); 
    13321332        return; 
    13331333} 
    13341334