Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use get_space_allowed() instead of get_site_option() directly
  • Loading branch information
ideag authored Jun 5, 2025
commit 2294e69444eae705eb7b9d22400c97ea9bf62a43
2 changes: 1 addition & 1 deletion src/wp-admin/includes/ms.php
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ function upload_space_setting( $id ) {
/* translators: Hidden accessibility text. */
_e( 'Size in megabytes' );
?>
</span><?php printf( '(Leave blank for network default: %s MB)', get_site_option( 'blog_upload_space' ) ); ?></span>
</span><?php printf( '(Leave blank for network default: %s MB)', get_space_allowed() ); ?></span>
<p class="description blog-upload-space-count">
<?php echo get_space_usage(); ?>
</p>
Expand Down