Make WordPress Core

Ticket #33642: 33642.patch

File 33642.patch, 584 bytes (added by joemcgill, 9 years ago)

Change default quality to 82

  • src/wp-includes/class-wp-image-editor.php

    diff --git src/wp-includes/class-wp-image-editor.php src/wp-includes/class-wp-image-editor.php
    index adaa884..bb29617 100644
    abstract class WP_Image_Editor { 
    1717        protected $mime_type = null;
    1818        protected $default_mime_type = 'image/jpeg';
    1919        protected $quality = false;
    20         protected $default_quality = 90;
     20        protected $default_quality = 82;
    2121
    2222        /**
    2323         * Each instance handles a single file.
    abstract class WP_Image_Editor { 
    492492                return $extensions[0];
    493493        }
    494494}
    495