PHPCS: Fix WPCS violations in [45104].
See #46645. git-svn-id: https://develop.svn.wordpress.org/trunk@45106 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fa0ad447c8
commit
c8913b375e
@ -380,6 +380,7 @@ class WP_Debug_Data {
|
||||
} else {
|
||||
$is_subdir = ( strpos( $size_directories[ $size ]['path'], ABSPATH ) === 0 );
|
||||
|
||||
// phpcs:ignore WordPress.WP.CapitalPDangit.Misspelled
|
||||
if ( $size_total !== null && ( $size === 'wordpress' || ! $is_subdir ) ) {
|
||||
$size_total += $dir_size;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user