Skip to content

Commit 28bb960

Browse files
committed
Fix: Correct spacing in exception handling for cache group output
1 parent c6c32a9 commit 28bb960

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-object-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ public function stats() {
639639
foreach ( $this->cache as $group => $cache ) {
640640
try {
641641
echo '<li><strong>Group:</strong> ' . esc_html( $group ) . ' - ( ' . number_format( strlen( serialize( $cache ) ) / KB_IN_BYTES, 2 ) . 'k )</li>';
642-
} catch( Exception $e ) {
642+
} catch ( Exception $e ) {
643643
echo '<li><strong>Group:</strong> ' . esc_html( $group ) . ' - ( ' . number_format( strlen( print_r( $cache, true ) ) / KB_IN_BYTES, 2 ) . 'k )</li>';
644644
}
645645
}

0 commit comments

Comments
 (0)