Changeset 2085833
- Timestamp:
- 05/11/2019 10:23:24 AM (7 years ago)
- Location:
- disable-jpeg-compression/tags/1.6
- Files:
-
- 2 edited
- 1 copied
-
. (copied) (copied from disable-jpeg-compression/trunk)
-
disable-jpeg-compression.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
disable-jpeg-compression/tags/1.6/disable-jpeg-compression.php
r1060622 r2085833 4 4 Plugin URI: 5 5 Description: Disable the JPEG compression in WordPress, which enabled by default. 6 Version: 1. 56 Version: 1.6 7 7 Author: Yonatan Ganot 8 Author URI: http ://www.scolpy.net8 Author URI: https://www.scolpy.net 9 9 */ 10 10 11 11 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 12 12 13 add_filter('jpeg_quality', create_function('', 'return 100;')); 14 add_filter('wp_editor_set_quality', create_function('', 'return 100;')); 13 function disable_jpeg_compression() { 14 return 100; 15 } 16 17 add_filter('jpeg_quality', 'disable_jpeg_compression'); 18 add_filter('wp_editor_set_quality', 'disable_jpeg_compression'); 15 19 ?> -
disable-jpeg-compression/tags/1.6/readme.txt
r1889751 r2085833 1 1 === Plugin Name === 2 2 Contributors: XxXYonIXxX 3 Donate link: http ://www.scolpy.net/3 Donate link: https://www.scolpy.net/ 4 4 Tags: jpeg, jpg, compression, disable 5 5 Requires at least: 3.3.1 6 Tested up to: 5. 07 Stable tag: 1. 56 Tested up to: 5.2 7 Stable tag: 1.6 8 8 License: GPLv3 9 License URI: http ://www.gnu.org/licenses/gpl.html9 License URI: https://www.gnu.org/licenses/gpl.html
Note: See TracChangeset
for help on using the changeset viewer.