Plugin Directory

Changeset 2919182


Ignore:
Timestamp:
05/30/2023 03:17:56 PM (3 years ago)
Author:
siteimprove
Message:

Release version 2.0.1

Location:
siteimprove
Files:
28 added
3 edited

Legend:

Unmodified
Added
Removed
  • siteimprove/trunk/admin/partials/class-siteimprove-admin-settings.php

    r2919146 r2919182  
    272272        $is_checked = '';
    273273        // If the option still not exists, the checkbox will start as marked by default.
    274         if ( ! get_option( 'siteimprove_disable_new_version' ) && 0 !== intval( get_option( 'siteimprove_disable_new_version' ) ) ) {
     274        if ( false === get_option( 'siteimprove_disable_new_version' ) || 1 === intval( get_option( 'siteimprove_disable_new_version' ) ) ) {
    275275            $is_checked = 'checked';
    276         } else if ( 1 === intval( get_option( 'siteimprove_disable_new_version' ) ) ) {
    277             $is_checked = 'checked';
     276        } else {
     277            $is_checked = '';
    278278        }
    279279        ?>
    280 
    281280        <input type="checkbox" id="siteimprove_disable_new_version_field" name="siteimprove_disable_new_version"  value='1' <?php echo esc_attr( $is_checked ); ?> />
    282281        <?php
  • siteimprove/trunk/readme.txt

    r2919146 r2919182  
    8787== Changelog ==
    8888
     89= 2.0.1 =
     90* Bugfix - Fixed checkbox for "Use latest experience" was not properly checked on by default
     91
    8992= 2.0.0 =
    9093* Added - Support for latest experience
  • siteimprove/trunk/siteimprove.php

    r2919146 r2919182  
    1010 * Plugin URI:          https://www.siteimprove.com/integrations/cms-plugin/wordpress/
    1111 * Description:         Integration with Siteimprove.
    12  * Version:             2.0.0
     12 * Version:             2.0.1
    1313 * Author:              Siteimprove
    1414 * Author URI:          http://www.siteimprove.com/
Note: See TracChangeset for help on using the changeset viewer.