Skip to content

Commit

Permalink
WPCS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
audrasjb authored Feb 24, 2025
1 parent a40c6a9 commit 5bb163b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/wp-admin/includes/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ function wp_dashboard_quota() {
$used = get_space_used();

$used_class = '';
if ( ! get_site_option( 'upload_space_check_disabled' ) ) {
if ( ! get_site_option( 'upload_space_check_disabled' ) ) {
$quota = get_space_allowed();
if ( $used > $quota ) {
$percentused = '100';
Expand All @@ -1666,7 +1666,7 @@ function wp_dashboard_quota() {
<h3 class="mu-storage"><?php _e( 'Storage Space' ); ?></h3>
<div class="mu-storage">
<ul>
<?php if ( isset( $quota ) ) : ?>
<?php if ( isset( $quota ) ) : ?>
<li class="storage-count">
<?php
$text = sprintf(
Expand All @@ -1683,7 +1683,7 @@ function wp_dashboard_quota() {
);
?>
</li>
<?php endif; ?>
<?php endif; ?>
<li class="storage-count <?php echo $used_class; ?>">
<?php
printf(
Expand Down

0 comments on commit 5bb163b

Please sign in to comment.