Plugin Directory

Changeset 2969931

Timestamp:
09/21/2023 05:47:29 PM (11 months ago)
Author:
nosilver4u
Message:

tagging and releasing 3.5.2

Location:
easy-image-optimizer
Files:
20 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easy-image-optimizer/tags/3.5.2/.travis.yml

    r2963296 r2969931  
    2424  - phpenv config-rm xdebug.ini
    2525  - composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
    26   - composer global require --dev wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
     26  - composer global require --dev wp-coding-standards/wpcs
    2727
    2828script:
  • easy-image-optimizer/tags/3.5.2/changelog.txt

    r2963296 r2969931  
     1
     2
     3
     4
    15= 3.5.1 =
    26* changed: use updated coding standards
  • easy-image-optimizer/tags/3.5.2/classes/class-base.php

    r2963296 r2969931  
    815815    /**
    816816     * Make sure this is really and truly a "front-end request", excluding page builders and such.
    817      * Note this is not currently used anywhere, each module has it's own list.
     817     * N this is not currently used anywhere, each module has it's own list.
    818818     *
    819819     * @return bool True for front-end requests, false for admin/builder requests.
  • easy-image-optimizer/tags/3.5.2/classes/class-exactdn.php

    r2963296 r2969931  
    36283628            return true;
    36293629        }
    3630         if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) ) {
     3630        if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) || false !== \strpos( $uri, 'cornerstone/edit/' ) ) {
     3631            return true;
     3632        }
     3633        if ( \did_action( 'cs_element_rendering' ) || \did_action( 'cornerstone_before_boot_app' ) || \apply_filters( 'cs_is_preview_render', false ) ) {
    36313634            return true;
    36323635        }
     
    36993702        }
    37003703        if ( \did_action( 'cornerstone_boot_app' ) || \did_action( 'cs_before_preview_frame' ) ) {
     3704
     3705
     3706
    37013707            return $url;
    37023708        }
  • easy-image-optimizer/tags/3.5.2/classes/class-lazy-load.php

    r2963296 r2969931  
    247247            return false;
    248248        }
    249         if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) ) {
     249        if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) ) {
    250250            return false;
    251251        }
     
    257257        }
    258258        if ( \did_action( 'cornerstone_boot_app' ) || \did_action( 'cs_before_preview_frame' ) ) {
     259
     260
     261
    259262            return false;
    260263        }
  • easy-image-optimizer/tags/3.5.2/classes/class-plugin.php

    r2963296 r2969931  
    140140            \is_multisite() &&
    141141            \is_plugin_active_for_network( EASYIO_PLUGIN_FILE_REL ) &&
     142
    142143            isset( $_POST['option_page'] ) &&
    143             false !== \strpos( $_POST['option_page'], 'easyio_options' ) &&
    144             \wp_verify_nonce( $_REQUEST['_wpnonce'], 'easyio_options-options' ) &&
     144            false !== \strpos( , 'easyio_options' ) &&
     145            \wp_verify_nonce( , 'easyio_options-options' ) &&
    145146            \current_user_can( 'manage_network_options' ) &&
    146147            ! \get_site_option( 'easyio_allow_multisite_override' ) &&
    147             false === \strpos( $_POST['_wp_http_referer'], 'options-general' )
     148            false === \strpos( , 'options-general' )
    148149        ) {
    149150            $this->debug_message( 'network-wide settings, no override' );
    150             $_POST['easyio_debug'] = ( empty( $_POST['easyio_debug'] ) ? false : true );
    151             \update_site_option( 'easyio_debug', $_POST['easyio_debug'] );
    152             $_POST['easyio_metadata_remove'] = ( empty( $_POST['easyio_metadata_remove'] ) ? false : true );
    153             \update_site_option( 'easyio_metadata_remove', $_POST['easyio_metadata_remove'] );
    154             $_POST['easyio_exactdn'] = ( empty( $_POST['easyio_exactdn'] ) ? false : true );
    155             \update_site_option( 'easyio_exactdn', $_POST['easyio_exactdn'] );
    156             $_POST['exactdn_all_the_things'] = ( empty( $_POST['exactdn_all_the_things'] ) ? false : true );
    157             \update_site_option( 'exactdn_all_the_things', $_POST['exactdn_all_the_things'] );
    158             $_POST['exactdn_lossy'] = ( empty( $_POST['exactdn_lossy'] ) ? false : true );
    159             \update_site_option( 'exactdn_lossy', $_POST['exactdn_lossy'] );
    160             $_POST['exactdn_exclude'] = empty( $_POST['exactdn_exclude'] ) ? '' : $_POST['exactdn_exclude'];
    161             \update_site_option( 'exactdn_exclude', $this->exclude_paths_sanitize( $_POST['exactdn_exclude'] ) );
    162             $_POST['easyio_add_missing_dims'] = ( empty( $_POST['easyio_add_missing_dims'] ) ? false : true );
    163             \update_site_option( 'easyio_add_missing_dims', $_POST['easyio_add_missing_dims'] );
    164             $_POST['easyio_lazy_load'] = ( empty( $_POST['easyio_lazy_load'] ) ? false : true );
    165             \update_site_option( 'easyio_lazy_load', $_POST['easyio_lazy_load'] );
    166             $_POST['easyio_use_lqip'] = ( empty( $_POST['easyio_use_lqip'] ) ? false : true );
    167             \update_site_option( 'easyio_use_lqip', $_POST['easyio_use_lqip'] );
    168             $_POST['easyio_ll_exclude'] = empty( $_POST['easyio_ll_exclude'] ) ? '' : $_POST['easyio_ll_exclude'];
    169             \update_site_option( 'easyio_ll_exclude', $this->exclude_paths_sanitize( $_POST['easyio_ll_exclude'] ) );
    170             $_POST['easyio_allow_multisite_override'] = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
    171             \update_site_option( 'easyio_allow_multisite_override', $_POST['easyio_allow_multisite_override'] );
    172             $_POST['easyio_enable_help'] = empty( $_POST['easyio_enable_help'] ) ? false : true;
    173             \update_site_option( 'easyio_enable_help', $_POST['easyio_enable_help'] );
     151            $easyio_debug = ( empty( $_POST['easyio_debug'] ) ? false : true );
     152            \update_site_option( 'easyio_debug', $easyio_debug );
     153            $easyio_metadata_remove = ( empty( $_POST['easyio_metadata_remove'] ) ? false : true );
     154            \update_site_option( 'easyio_metadata_remove', $easyio_metadata_remove );
     155            $exactdn_all_the_things = ( empty( $_POST['exactdn_all_the_things'] ) ? false : true );
     156            \update_site_option( 'exactdn_all_the_things', $exactdn_all_the_things );
     157            $exactdn_lossy = ( empty( $_POST['exactdn_lossy'] ) ? false : true );
     158            \update_site_option( 'exactdn_lossy', $exactdn_lossy );
     159            $exactdn_exclude = empty( $_POST['exactdn_exclude'] ) ? '' : sanitize_textarea_field( wp_unslash( $_POST['exactdn_exclude'] ) );
     160            \update_site_option( 'exactdn_exclude', $this->exclude_paths_sanitize( $exactdn_exclude ) );
     161            $easyio_add_missing_dims = ( empty( $_POST['easyio_add_missing_dims'] ) ? false : true );
     162            \update_site_option( 'easyio_add_missing_dims', $easyio_add_missing_dims );
     163            $easyio_lazy_load = ( empty( $_POST['easyio_lazy_load'] ) ? false : true );
     164            \update_site_option( 'easyio_lazy_load', $easyio_lazy_load );
     165            $easyio_use_lqip = ( empty( $_POST['easyio_use_lqip'] ) ? false : true );
     166            \update_site_option( 'easyio_use_lqip', $easyio_use_lqip );
     167            $easyio_ll_exclude = empty( $_POST['easyio_ll_exclude'] ) ? '' : sanitize_textarea_field( wp_unslash( $_POST['easyio_ll_exclude'] ) );
     168            \update_site_option( 'easyio_ll_exclude', $this->exclude_paths_sanitize( $easyio_ll_exclude ) );
     169            $easyio_allow_multisite_override = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
     170            \update_site_option( 'easyio_allow_multisite_override', $easyio_allow_multisite_override );
     171            $easyio_enable_help = empty( $_POST['easyio_enable_help'] ) ? false : true;
     172            \update_site_option( 'easyio_enable_help', $easyio_enable_help );
    174173            \add_action( 'network_admin_notices', 'easyio_network_settings_saved' );
    175         } elseif ( isset( $_POST['easyio_allow_multisite_override_active'] ) && \current_user_can( 'manage_network_options' ) && \wp_verify_nonce( $_REQUEST['_wpnonce'], 'easyio_options-options' ) ) {
     174        } elseif ( isset( $_POST['easyio_allow_multisite_override_active'] ) && \current_user_can( 'manage_network_options' ) && , 'easyio_options-options' ) ) {
    176175            $this->debug_message( 'network-wide settings, single-site overriding' );
    177             $_POST['easyio_allow_multisite_override'] = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
    178             \update_site_option( 'easyio_allow_multisite_override', $_POST['easyio_allow_multisite_override'] );
     176            $ = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
     177            \update_site_option( 'easyio_allow_multisite_override', $ );
    179178            \add_action( 'network_admin_notices', 'easyio_network_settings_saved' );
    180179        } // End if().
  • easy-image-optimizer/tags/3.5.2/easy-image-optimizer.php

    r2963296 r2969931  
    1414Description: Easily speed up your website to better connect with your visitors. Properly compress and size/scale images. Includes lazy load and WebP auto-convert.
    1515Author: Exactly WWW
    16 Version: 3.5.1
     16Version: 3.5.
    1717Requires at least: 6.1
    1818Requires PHP: 7.4
     
    2929    add_action( 'network_admin_notices', 'easyio_unsupported_php' );
    3030    add_action( 'admin_notices', 'easyio_unsupported_php' );
    31 } elseif ( empty( $_GET['easyio_disable'] ) ) {
    32     define( 'EASYIO_VERSION', 351 );
     31} elseif ( ) ) {
     32    define( 'EASYIO_VERSION', 35 );
    3333
    3434    /**
  • easy-image-optimizer/tags/3.5.2/phpcs.ruleset.xml

    r2142075 r2969931  
    3030        </properties>
    3131    </rule>
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
    3245</ruleset>
  • easy-image-optimizer/tags/3.5.2/readme.txt

    r2963296 r2969931  
    55Tested up to: 6.3
    66Requires PHP: 7.4
    7 Stable tag: 3.5.1
     7Stable tag: 3.5.
    88License: GPLv3
    99
     
    5757
    5858* If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/easy-image-optimizer/
     59
     60
     61
     62
    5963
    6064= 3.5.1 =
  • easy-image-optimizer/tags/3.5.2/unique.php

    r2963296 r2969931  
    7373    }
    7474    $sendback = wp_get_referer();
    75     wp_redirect( esc_url_raw( $sendback ) );
     75    wp_redirect( esc_url_raw( $sendback ) );
    7676    exit( 0 );
    7777}
     
    102102    $buffer_start = false;
    103103    // If ExactDN is enabled.
    104     if ( easyio_get_option( 'easyio_exactdn' ) && empty( $_GET['exactdn_disable'] ) ) {
     104    if ( easyio_get_option( 'easyio_exactdn' ) && ) ) {
    105105        $buffer_start = true;
    106106        /**
     
    318318 */
    319319function easyio_notice_inactive() {
    320     $settings_url = esc_url( admin_url( 'options-general.php?page=easy-image-optimizer-options' ) );
    321320    echo "<div id='easyio-inactive' class='notice notice-warning'><p>" .
    322         "<a href='$settings_url'>" . esc_html__( 'Please visit the settings page to complete activation of the Easy Image Optimizer.', 'easy-image-optimizer' ) . '</a></p></div>';
     321        . esc_html__( 'Please visit the settings page to complete activation of the Easy Image Optimizer.', 'easy-image-optimizer' ) . '</a></p></div>';
    323322}
    324323
     
    337336            'https://docs.ewww.io/article/66-exactdn-not-verified'
    338337        ) .
    339         '<br><code>' . $exactdn_activate_error . '</code>' .
     338        '<br><code>' . . '</code>' .
    340339        '</p></div>';
    341340}
     
    713712 */
    714713function easyio_network_options() {
    715     $output  = '';
    716     $output .= "<div class='wrap'>\n";
    717 
    718714    $icon_link = plugins_url( '/images/easyio-toon-car.png', __FILE__ );
    719     $output   .= "<img style='float:right;' src='$icon_link' />";
    720 
    721     $output .= "<h1>Easy Image Optimizer</h1>\n";
    722     $output .= '<p>' . esc_html__( 'The Easy Image Optimizer must be configured and activated on each individual site.', 'easy-image-optimizer' ) . '</p>';
    723     $output .= '</div>';
    724     echo $output;
     715    ?>
     716    <div class='wrap'>
     717        <img style='float:right;' src='<?php esc_url( $icon_link ); ?>' />
     718        <h1>Easy Image Optimizer</h1>
     719        <p><?php esc_html_e( 'The Easy Image Optimizer must be configured and activated on each individual site.', 'easy-image-optimizer' ); ?></p>
     720    </div>
     721    <?php
    725722}
    726723
     
    10791076    Beacon( 'prefill', {
    10801077        email: '<?php echo esc_js( $help_email ); ?>',
    1081         text: '\n\n----------------------------------------\n<?php echo $hs_debug; ?>',
     1078        text: '\n\n----------------------------------------\n<?php echo ; ?>',
    10821079    });
    10831080</script>
  • easy-image-optimizer/trunk/.travis.yml

    r2963296 r2969931  
    2424  - phpenv config-rm xdebug.ini
    2525  - composer global config allow-plugins.dealerdirect/phpcodesniffer-composer-installer true
    26   - composer global require --dev wp-coding-standards/wpcs dealerdirect/phpcodesniffer-composer-installer
     26  - composer global require --dev wp-coding-standards/wpcs
    2727
    2828script:
  • easy-image-optimizer/trunk/changelog.txt

    r2963296 r2969931  
     1
     2
     3
     4
    15= 3.5.1 =
    26* changed: use updated coding standards
  • easy-image-optimizer/trunk/classes/class-base.php

    r2963296 r2969931  
    815815    /**
    816816     * Make sure this is really and truly a "front-end request", excluding page builders and such.
    817      * Note this is not currently used anywhere, each module has it's own list.
     817     * N this is not currently used anywhere, each module has it's own list.
    818818     *
    819819     * @return bool True for front-end requests, false for admin/builder requests.
  • easy-image-optimizer/trunk/classes/class-exactdn.php

    r2963296 r2969931  
    36283628            return true;
    36293629        }
    3630         if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) ) {
     3630        if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) || false !== \strpos( $uri, 'cornerstone/edit/' ) ) {
     3631            return true;
     3632        }
     3633        if ( \did_action( 'cs_element_rendering' ) || \did_action( 'cornerstone_before_boot_app' ) || \apply_filters( 'cs_is_preview_render', false ) ) {
    36313634            return true;
    36323635        }
     
    36993702        }
    37003703        if ( \did_action( 'cornerstone_boot_app' ) || \did_action( 'cs_before_preview_frame' ) ) {
     3704
     3705
     3706
    37013707            return $url;
    37023708        }
  • easy-image-optimizer/trunk/classes/class-lazy-load.php

    r2963296 r2969931  
    247247            return false;
    248248        }
    249         if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) ) {
     249        if ( false !== \strpos( $uri, 'cornerstone=' ) || false !== \strpos( $uri, 'cornerstone-endpoint' ) ) {
    250250            return false;
    251251        }
     
    257257        }
    258258        if ( \did_action( 'cornerstone_boot_app' ) || \did_action( 'cs_before_preview_frame' ) ) {
     259
     260
     261
    259262            return false;
    260263        }
  • easy-image-optimizer/trunk/classes/class-plugin.php

    r2963296 r2969931  
    140140            \is_multisite() &&
    141141            \is_plugin_active_for_network( EASYIO_PLUGIN_FILE_REL ) &&
     142
    142143            isset( $_POST['option_page'] ) &&
    143             false !== \strpos( $_POST['option_page'], 'easyio_options' ) &&
    144             \wp_verify_nonce( $_REQUEST['_wpnonce'], 'easyio_options-options' ) &&
     144            false !== \strpos( , 'easyio_options' ) &&
     145            \wp_verify_nonce( , 'easyio_options-options' ) &&
    145146            \current_user_can( 'manage_network_options' ) &&
    146147            ! \get_site_option( 'easyio_allow_multisite_override' ) &&
    147             false === \strpos( $_POST['_wp_http_referer'], 'options-general' )
     148            false === \strpos( , 'options-general' )
    148149        ) {
    149150            $this->debug_message( 'network-wide settings, no override' );
    150             $_POST['easyio_debug'] = ( empty( $_POST['easyio_debug'] ) ? false : true );
    151             \update_site_option( 'easyio_debug', $_POST['easyio_debug'] );
    152             $_POST['easyio_metadata_remove'] = ( empty( $_POST['easyio_metadata_remove'] ) ? false : true );
    153             \update_site_option( 'easyio_metadata_remove', $_POST['easyio_metadata_remove'] );
    154             $_POST['easyio_exactdn'] = ( empty( $_POST['easyio_exactdn'] ) ? false : true );
    155             \update_site_option( 'easyio_exactdn', $_POST['easyio_exactdn'] );
    156             $_POST['exactdn_all_the_things'] = ( empty( $_POST['exactdn_all_the_things'] ) ? false : true );
    157             \update_site_option( 'exactdn_all_the_things', $_POST['exactdn_all_the_things'] );
    158             $_POST['exactdn_lossy'] = ( empty( $_POST['exactdn_lossy'] ) ? false : true );
    159             \update_site_option( 'exactdn_lossy', $_POST['exactdn_lossy'] );
    160             $_POST['exactdn_exclude'] = empty( $_POST['exactdn_exclude'] ) ? '' : $_POST['exactdn_exclude'];
    161             \update_site_option( 'exactdn_exclude', $this->exclude_paths_sanitize( $_POST['exactdn_exclude'] ) );
    162             $_POST['easyio_add_missing_dims'] = ( empty( $_POST['easyio_add_missing_dims'] ) ? false : true );
    163             \update_site_option( 'easyio_add_missing_dims', $_POST['easyio_add_missing_dims'] );
    164             $_POST['easyio_lazy_load'] = ( empty( $_POST['easyio_lazy_load'] ) ? false : true );
    165             \update_site_option( 'easyio_lazy_load', $_POST['easyio_lazy_load'] );
    166             $_POST['easyio_use_lqip'] = ( empty( $_POST['easyio_use_lqip'] ) ? false : true );
    167             \update_site_option( 'easyio_use_lqip', $_POST['easyio_use_lqip'] );
    168             $_POST['easyio_ll_exclude'] = empty( $_POST['easyio_ll_exclude'] ) ? '' : $_POST['easyio_ll_exclude'];
    169             \update_site_option( 'easyio_ll_exclude', $this->exclude_paths_sanitize( $_POST['easyio_ll_exclude'] ) );
    170             $_POST['easyio_allow_multisite_override'] = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
    171             \update_site_option( 'easyio_allow_multisite_override', $_POST['easyio_allow_multisite_override'] );
    172             $_POST['easyio_enable_help'] = empty( $_POST['easyio_enable_help'] ) ? false : true;
    173             \update_site_option( 'easyio_enable_help', $_POST['easyio_enable_help'] );
     151            $easyio_debug = ( empty( $_POST['easyio_debug'] ) ? false : true );
     152            \update_site_option( 'easyio_debug', $easyio_debug );
     153            $easyio_metadata_remove = ( empty( $_POST['easyio_metadata_remove'] ) ? false : true );
     154            \update_site_option( 'easyio_metadata_remove', $easyio_metadata_remove );
     155            $exactdn_all_the_things = ( empty( $_POST['exactdn_all_the_things'] ) ? false : true );
     156            \update_site_option( 'exactdn_all_the_things', $exactdn_all_the_things );
     157            $exactdn_lossy = ( empty( $_POST['exactdn_lossy'] ) ? false : true );
     158            \update_site_option( 'exactdn_lossy', $exactdn_lossy );
     159            $exactdn_exclude = empty( $_POST['exactdn_exclude'] ) ? '' : sanitize_textarea_field( wp_unslash( $_POST['exactdn_exclude'] ) );
     160            \update_site_option( 'exactdn_exclude', $this->exclude_paths_sanitize( $exactdn_exclude ) );
     161            $easyio_add_missing_dims = ( empty( $_POST['easyio_add_missing_dims'] ) ? false : true );
     162            \update_site_option( 'easyio_add_missing_dims', $easyio_add_missing_dims );
     163            $easyio_lazy_load = ( empty( $_POST['easyio_lazy_load'] ) ? false : true );
     164            \update_site_option( 'easyio_lazy_load', $easyio_lazy_load );
     165            $easyio_use_lqip = ( empty( $_POST['easyio_use_lqip'] ) ? false : true );
     166            \update_site_option( 'easyio_use_lqip', $easyio_use_lqip );
     167            $easyio_ll_exclude = empty( $_POST['easyio_ll_exclude'] ) ? '' : sanitize_textarea_field( wp_unslash( $_POST['easyio_ll_exclude'] ) );
     168            \update_site_option( 'easyio_ll_exclude', $this->exclude_paths_sanitize( $easyio_ll_exclude ) );
     169            $easyio_allow_multisite_override = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
     170            \update_site_option( 'easyio_allow_multisite_override', $easyio_allow_multisite_override );
     171            $easyio_enable_help = empty( $_POST['easyio_enable_help'] ) ? false : true;
     172            \update_site_option( 'easyio_enable_help', $easyio_enable_help );
    174173            \add_action( 'network_admin_notices', 'easyio_network_settings_saved' );
    175         } elseif ( isset( $_POST['easyio_allow_multisite_override_active'] ) && \current_user_can( 'manage_network_options' ) && \wp_verify_nonce( $_REQUEST['_wpnonce'], 'easyio_options-options' ) ) {
     174        } elseif ( isset( $_POST['easyio_allow_multisite_override_active'] ) && \current_user_can( 'manage_network_options' ) && , 'easyio_options-options' ) ) {
    176175            $this->debug_message( 'network-wide settings, single-site overriding' );
    177             $_POST['easyio_allow_multisite_override'] = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
    178             \update_site_option( 'easyio_allow_multisite_override', $_POST['easyio_allow_multisite_override'] );
     176            $ = empty( $_POST['easyio_allow_multisite_override'] ) ? false : true;
     177            \update_site_option( 'easyio_allow_multisite_override', $ );
    179178            \add_action( 'network_admin_notices', 'easyio_network_settings_saved' );
    180179        } // End if().
  • easy-image-optimizer/trunk/easy-image-optimizer.php

    r2963296 r2969931  
    1414Description: Easily speed up your website to better connect with your visitors. Properly compress and size/scale images. Includes lazy load and WebP auto-convert.
    1515Author: Exactly WWW
    16 Version: 3.5.1
     16Version: 3.5.
    1717Requires at least: 6.1
    1818Requires PHP: 7.4
     
    2929    add_action( 'network_admin_notices', 'easyio_unsupported_php' );
    3030    add_action( 'admin_notices', 'easyio_unsupported_php' );
    31 } elseif ( empty( $_GET['easyio_disable'] ) ) {
    32     define( 'EASYIO_VERSION', 351 );
     31} elseif ( ) ) {
     32    define( 'EASYIO_VERSION', 35 );
    3333
    3434    /**
  • easy-image-optimizer/trunk/phpcs.ruleset.xml

    r2142075 r2969931  
    3030        </properties>
    3131    </rule>
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
    3245</ruleset>
  • easy-image-optimizer/trunk/readme.txt

    r2963296 r2969931  
    55Tested up to: 6.3
    66Requires PHP: 7.4
    7 Stable tag: 3.5.1
     7Stable tag: 3.5.
    88License: GPLv3
    99
     
    5757
    5858* If you would like to help translate this plugin in your language, get started here: https://translate.wordpress.org/projects/wp-plugins/easy-image-optimizer/
     59
     60
     61
     62
    5963
    6064= 3.5.1 =
  • easy-image-optimizer/trunk/unique.php

    r2963296 r2969931  
    7373    }
    7474    $sendback = wp_get_referer();
    75     wp_redirect( esc_url_raw( $sendback ) );
     75    wp_redirect( esc_url_raw( $sendback ) );
    7676    exit( 0 );
    7777}
     
    102102    $buffer_start = false;
    103103    // If ExactDN is enabled.
    104     if ( easyio_get_option( 'easyio_exactdn' ) && empty( $_GET['exactdn_disable'] ) ) {
     104    if ( easyio_get_option( 'easyio_exactdn' ) && ) ) {
    105105        $buffer_start = true;
    106106        /**
     
    318318 */
    319319function easyio_notice_inactive() {
    320     $settings_url = esc_url( admin_url( 'options-general.php?page=easy-image-optimizer-options' ) );
    321320    echo "<div id='easyio-inactive' class='notice notice-warning'><p>" .
    322         "<a href='$settings_url'>" . esc_html__( 'Please visit the settings page to complete activation of the Easy Image Optimizer.', 'easy-image-optimizer' ) . '</a></p></div>';
     321        . esc_html__( 'Please visit the settings page to complete activation of the Easy Image Optimizer.', 'easy-image-optimizer' ) . '</a></p></div>';
    323322}
    324323
     
    337336            'https://docs.ewww.io/article/66-exactdn-not-verified'
    338337        ) .
    339         '<br><code>' . $exactdn_activate_error . '</code>' .
     338        '<br><code>' . . '</code>' .
    340339        '</p></div>';
    341340}
     
    713712 */
    714713function easyio_network_options() {
    715     $output  = '';
    716     $output .= "<div class='wrap'>\n";
    717 
    718714    $icon_link = plugins_url( '/images/easyio-toon-car.png', __FILE__ );
    719     $output   .= "<img style='float:right;' src='$icon_link' />";
    720 
    721     $output .= "<h1>Easy Image Optimizer</h1>\n";
    722     $output .= '<p>' . esc_html__( 'The Easy Image Optimizer must be configured and activated on each individual site.', 'easy-image-optimizer' ) . '</p>';
    723     $output .= '</div>';
    724     echo $output;
     715    ?>
     716    <div class='wrap'>
     717        <img style='float:right;' src='<?php esc_url( $icon_link ); ?>' />
     718        <h1>Easy Image Optimizer</h1>
     719        <p><?php esc_html_e( 'The Easy Image Optimizer must be configured and activated on each individual site.', 'easy-image-optimizer' ); ?></p>
     720    </div>
     721    <?php
    725722}
    726723
     
    10791076    Beacon( 'prefill', {
    10801077        email: '<?php echo esc_js( $help_email ); ?>',
    1081         text: '\n\n----------------------------------------\n<?php echo $hs_debug; ?>',
     1078        text: '\n\n----------------------------------------\n<?php echo ; ?>',
    10821079    });
    10831080</script>
Note: See TracChangeset for help on using the changeset viewer.