We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139c42e commit aa63594Copy full SHA for aa63594
inc/app_replacer.php
@@ -614,7 +614,7 @@ protected function parse_dimensions_from_filename( $src ) {
614
}
615
} else {
616
$optimized_args = $this->parse_dimension_from_optimized_url( $src );
617
- if ( $optimized_args[0] !== 'auto' && $optimized_args[1] !== 'auto' ) {
+ if ( $optimized_args[0] !== 'auto' || $optimized_args[1] !== 'auto' ) {
618
return [
619
$optimized_args[0] !== 'auto' ? (int) $optimized_args[0] : false,
620
$optimized_args[1] !== 'auto' ? (int) $optimized_args[1] : false,
0 commit comments