Changeset 2967974
- Timestamp:
- 09/17/2023 11:51:40 AM (3 years ago)
- Location:
- resmushit-image-optimizer/trunk
- Files:
-
- 1 added
- 4 edited
-
images/patreon.png (added)
-
readme.txt (modified) (2 diffs)
-
resmushit.admin.php (modified) (1 diff)
-
resmushit.php (modified) (6 diffs)
-
resmushit.settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
resmushit-image-optimizer/trunk/readme.txt
r2814395 r2967974 3 3 Tags: image, optimizer, image optimization, resmush.it, smush, jpg, png, gif, optimization, compression, Compress, Images, Pictures, Reduce Image Size, Smush, Smush.it 4 4 Requires at least: 4.0.0 5 Tested up to: 6. 1.06 Stable tag: 0.4.1 15 Tested up to: 6.3.1 6 Stable tag: 0.4.12 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 74 74 75 75 == Changelog == 76 = 0.4.12 = 77 * Patreon display message :( 78 76 79 = 0.4.11 = 77 80 * Missing image -
resmushit-image-optimizer/trunk/resmushit.admin.php
r2814381 r2967974 155 155 $allowed_pages = array( 'media_page_resmushit_options', 156 156 'upload', 157 'dashboard', 157 158 'post', 158 159 'plugins', -
resmushit-image-optimizer/trunk/resmushit.php
r2814395 r2967974 5 5 * @license GPL-2.0+ 6 6 * @link http://www.resmush.it 7 * @copyright 202 2Resmush.it7 * @copyright 2023 Resmush.it 8 8 * 9 9 * @wordpress-plugin … … 11 11 * Plugin URI: https://wordpress.org/plugins/resmushit-image-optimizer/ 12 12 * Description: Image Optimization API. Provides image size optimization 13 * Version: 0.4.1 114 * Timestamp: 202 2.11.0813 * Version: 0.4.12 14 * Timestamp: 2023.09.17 15 15 * Author: reSmush.it 16 16 * Author URI: https://resmush.it … … 70 70 if(get_option('resmushit_has_no_backup_files') === false || get_option('resmushit_has_no_backup_files') == "") 71 71 update_option( 'resmushit_has_no_backup_files', 0 ); 72 if(get_option('resmushit_notice_close ') === false || get_option('resmushit_notice_close') == "")73 update_option( 'resmushit_notice_close ', 0 );72 if(get_option('resmushit_notice_close_eol') === false || get_option('resmushit_notice_close_eol') == "") 73 update_option( 'resmushit_notice_close_eol', 0 ); 74 74 } 75 75 } … … 582 582 die(); 583 583 } 584 if(update_option( 'resmushit_notice_close ', 1 )) {584 if(update_option( 'resmushit_notice_close_eol', 1 )) { 585 585 $return = TRUE; 586 586 } … … 600 600 function resmushit_general_admin_notice(){ 601 601 // Expired offer 602 if(time() > strtotime(" 21 November 2022")) {602 if(time() > strtotime("31 October 2023")) { 603 603 return FALSE; 604 604 } 605 605 // Already seen notice 606 if(get_option('resmushit_notice_close ') == 1) {606 if(get_option('resmushit_notice_close_eol') == 1) { 607 607 return FALSE; 608 608 } 609 609 $allowed_pages = array( 610 610 'media_page_resmushit_options', 611 'dashboard', 611 612 'upload', 612 613 'plugins', … … 622 623 echo " 623 624 <div class='notice notice-success is-dismissible rsmt-notice' data-csrf='" . wp_create_nonce( 'notice_close' ) . "' data-dismissible='disable-done-notice-forever' data-notice='resmushit-notice-shortpixel'> 624 <div class='txt-center'><img src='". RESMUSHIT_BASE_URL . "images/shortpixel-resmushit.png' /></div> 625 <div class='extra-padding'><h4 class='no-uppercase'>Limited time, unique offer in partnership with <a target='_blank' href='https://www.shortpixel.com' title='Shortpixel'>ShortPixel</a></h4> <ul><li><em>Unlimited</em> monthly credits</li><li>Optimize All your website's JPEG, PNG, (animated)GIF and PDFs with ShortPixel's SmartCompress algorithms.</li><li>Generate <em>next-gen image</em> <a href='https://shortpixel.com/blog/how-webp-images-can-speed-up-your-site/' title='How WebP can speed up your website' target='_blank'>format WebP</a> for ALL your images.</li><li>No size limit</li><li><em><a href='https://status.shortpixel.com/' target='_blank' title='Status page of Shortpixel'>99.9%</a></em> service availability</li></ul> </div> 626 <div class='txt-center'><a class='button button-primary' target='_blank' href='https://unlimited.shortpixel.com' title='Subscribe to the premium offer'>Subscribe for <span class='txt-through'>$41.66</span> $9.99/mo until Nov 20th</a></div> 625 <div class='txt-center'><img src='". RESMUSHIT_BASE_URL . "images/patreon.png' /></div> 626 <div class='extra-padding'><h4 class='no-uppercase'>End of reSmush.it on October 31st, 2023, unless if...</h4> 627 <p>For more than 7 years, reSmush.it has been provided freely for the whole community (more than <b>400,000</b> websites). But now, the cost of servers has increased and we cannot maintain this service without the community's help.</p> 628 <p>With $150/month we can maintain the service, and with $500/month we can actively maintain the plugin, and also develop .webp/AVIF support to provide better optimization for websites.</p> 629 <p>We definitely need your help, or we will definitely have to shut the service by the <b>31th october 2023</b>. In this case, you'll have our competitors that will propose for a couple of euros the same service (and freely but with many more limitations).</p> 630 <p>Your help will be deeply appreciated to continue this fabulous adventure! 🚀</p> 631 <p></p> 632 <p>Kind regards ❤️,</p> 633 <p>Charles, <i>founder of reSmush.it</i></p> 634 </div> 635 <div class='txt-center'><a class='button button-primary' target='_blank' href='https://www.patreon.com/resmushit' title='Help us to maintain the service'>Support us on Patreon from $5/mo</a></div> 627 636 628 637 </div>"; -
resmushit-image-optimizer/trunk/resmushit.settings.php
r2814395 r2967974 2 2 3 3 define('RESMUSHIT_ENDPOINT', 'http://api.resmush.it/'); 4 define('RESMUSHIT_VERSION', '0.4.1 1');4 define('RESMUSHIT_VERSION', '0.4.12'); 5 5 define('RESMUSHIT_DEFAULT_QLTY', '92'); 6 6 define('RESMUSHIT_TIMEOUT', '10');
Note: See TracChangeset
for help on using the changeset viewer.