We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446dcad commit 9b90ad1Copy full SHA for 9b90ad1
1 file changed
includes/class-gumlet.php
@@ -310,21 +310,16 @@ protected function get_global_params() {
310
$params = [];
311
312
// For now, only "auto" is supported.
313
- $auto = [];
314
if ( ! empty ( $this->options['auto_format'] ) ) {
315
- array_push( $auto, 'format' );
+ $params["format"] = "auto";
316
}
317
318
- if ( ! empty ( $this->options['auto_enhance'] ) ) {
319
- array_push( $auto, 'enhance' );
320
- }
+ // if ( ! empty ( $this->options['auto_enhance'] ) ) {
+ // array_push( $auto, 'enhance' );
+ // }
321
322
if ( ! empty ( $this->options['auto_compress'] ) ) {
323
- array_push( $auto, 'compress' );
324
325
-
326
- if ( ! empty( $auto ) ) {
327
- $params['auto'] = implode( '%2C', $auto );
+ $params["compress"] = "true";
328
329
330
return $params;
0 commit comments