Plugin Directory

Changeset 2967974


Ignore:
Timestamp:
09/17/2023 11:51:40 AM (3 years ago)
Author:
resmushit
Message:

release 0.4.12 : patreon message

Location:
resmushit-image-optimizer/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • resmushit-image-optimizer/trunk/readme.txt

    r2814395 r2967974  
    33Tags: image, optimizer, image optimization, resmush.it, smush, jpg, png, gif, optimization, compression, Compress, Images, Pictures, Reduce Image Size, Smush, Smush.it
    44Requires at least: 4.0.0
    5 Tested up to: 6.1.0
    6 Stable tag: 0.4.11
     5Tested up to: 6.3.1
     6Stable tag: 0.4.12
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7474
    7575== Changelog ==
     76= 0.4.12 =
     77* Patreon display message :(
     78
    7679= 0.4.11 =
    7780* Missing image
  • resmushit-image-optimizer/trunk/resmushit.admin.php

    r2814381 r2967974  
    155155    $allowed_pages = array( 'media_page_resmushit_options',
    156156                            'upload',
     157                            'dashboard',
    157158                            'post',
    158159                            'plugins',
  • resmushit-image-optimizer/trunk/resmushit.php

    r2814395 r2967974  
    55 * @license   GPL-2.0+
    66 * @link      http://www.resmush.it
    7  * @copyright 2022 Resmush.it
     7 * @copyright 2023 Resmush.it
    88 *
    99 * @wordpress-plugin
     
    1111 * Plugin URI:        https://wordpress.org/plugins/resmushit-image-optimizer/
    1212 * Description:       Image Optimization API. Provides image size optimization
    13  * Version:           0.4.11
    14  * Timestamp:         2022.11.08
     13 * Version:           0.4.12
     14 * Timestamp:         2023.09.17
    1515 * Author:            reSmush.it
    1616 * Author URI:        https://resmush.it
     
    7070        if(get_option('resmushit_has_no_backup_files') === false || get_option('resmushit_has_no_backup_files') == "")
    7171            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 );
    7474    }
    7575}
     
    582582        die();
    583583    }
    584     if(update_option( 'resmushit_notice_close', 1 )) {
     584    if(update_option( 'resmushit_notice_close_eol', 1 )) {
    585585        $return = TRUE;
    586586    }
     
    600600function resmushit_general_admin_notice(){ 
    601601    // Expired offer
    602     if(time() > strtotime("21 November 2022")) {
     602    if(time() > strtotime("31 October 2023")) {
    603603        return FALSE;
    604604    }
    605605    // Already seen notice
    606     if(get_option('resmushit_notice_close') == 1) {
     606    if(get_option('resmushit_notice_close_eol') == 1) {
    607607        return FALSE;
    608608    }
    609609    $allowed_pages = array(
    610610        'media_page_resmushit_options',
     611        'dashboard',
    611612        'upload',
    612613        'plugins',
     
    622623        echo "
    623624            <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>
    627636           
    628637        </div>";
  • resmushit-image-optimizer/trunk/resmushit.settings.php

    r2814395 r2967974  
    22
    33define('RESMUSHIT_ENDPOINT', 'http://api.resmush.it/');
    4 define('RESMUSHIT_VERSION', '0.4.11');
     4define('RESMUSHIT_VERSION', '0.4.12');
    55define('RESMUSHIT_DEFAULT_QLTY', '92');
    66define('RESMUSHIT_TIMEOUT', '10');
Note: See TracChangeset for help on using the changeset viewer.