|
@@ 302-304 (lines=3) @@
|
| 299 |
|
} |
| 300 |
|
|
| 301 |
|
$cropping = 'w'; |
| 302 |
|
if ( isset( $this->options['cropping'] ) && '' !== $this->options['cropping'] ) { |
| 303 |
|
$cropping = $this->options['cropping']; |
| 304 |
|
} |
| 305 |
|
|
| 306 |
|
$this->image_scaling_url = 'https://wetu.com/ImageHandler/' . $cropping . $width . 'x' . $height . '/'; |
| 307 |
|
} |
|
@@ 1044-1046 (lines=3) @@
|
| 1041 |
|
$defaults['height'] = $this->options['height']; |
| 1042 |
|
} |
| 1043 |
|
|
| 1044 |
|
if ( isset( $this->options['cropping'] ) && '' !== $this->options['cropping'] ) { |
| 1045 |
|
$defaults['cropping'] = $this->options['cropping']; |
| 1046 |
|
} |
| 1047 |
|
} |
| 1048 |
|
|
| 1049 |
|
$args = wp_parse_args( $args, $defaults ); |