Skip to content

Commit 2aa2ab8

Browse files
Avoid inline control structures.
1 parent a415d00 commit 2aa2ab8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/class-tiny-settings.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,10 +384,14 @@ private function render_size_checkbox( $size, $option ) {
384384
$label = esc_html__( 'WP Retina 2x sizes', 'tiny-compress-images' );
385385
} else {
386386
$width = $option['width'];
387-
if ( ! $width ) $width = '?';
387+
if ( ! $width ) {
388+
$width = '?';
389+
}
388390

389391
$height = $option['height'];
390-
if ( ! $height ) $height = '?';
392+
if ( ! $height ) {
393+
$height = '?';
394+
}
391395

392396
$label = esc_html__( ucfirst( str_replace( '_', ' ', $size ) ) )
393397
. ' - ' . $width . 'x' . $height;

0 commit comments

Comments
 (0)