Plugin Directory

Changeset 2762111


Ignore:
Timestamp:
07/27/2022 04:54:40 AM (4 years ago)
Author:
ehops32
Message:

Bug fix - a check was missing in the previous update and throwing a PHP warning

Location:
sackson-web-data/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sackson-web-data/trunk/README.txt

    r2762047 r2762111  
    55Requires at least: 3.0.1
    66Tested up to: 6.0
    7 Stable tag: 1.1.5
     7Stable tag: 1.1.5.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    5151== Changelog ==
    5252
     53= 1.1.5.1 =
     54* Missed a check in release 1.1.5, correcting the PHP warning
     55
    5356= 1.1.5 =
    5457* Corrected a code error about accessing FS_DIRECT when it doesn't exist
  • sackson-web-data/trunk/includes/class-sacksonweb-data-helper.php

    r2762047 r2762111  
    77 *
    88 * @link       http://data.sacksonweb.com/author
    9  * @since      1.1.0
     9 * @since      1.1.5.1
    1010 *
    1111 * @package    Sacksonweb_Data
     
    1818     * 
    1919     *
    20      * @since    1.0.0
     20     * @since    1.1.5.1
    2121     * @access   protected
    2222     * @var      float    $how_many_hours_is_data_stale    The number of hours that we consider the data to be stale.
     
    6161       
    6262        /* If the settings provide an interval other than 1 hour, then set the stale variable instead. */
    63         if ( null !== $sw_option && null !== $sw_option['refresh_every_0'] && .00000000000000000000001 < $sw_option['refresh_every_0'] )
     63        if ( null !== $sw_option && isset($sw_option['refresh_every_0']) && null !== $sw_option['refresh_every_0'] && .00000000000000000000001 < $sw_option['refresh_every_0'] )
    6464        {
    65             // Default: $hours_data_is_considered_stale = 1; 
     65            // Default: $hours_data_is_considered_stale = 1;
    6666            $refresh_every_0 = $sw_option['refresh_every_0']; // Refresh every X hours, where X is the number in this field.
    6767            $this->hours_data_is_considered_stale = $refresh_every_0;
  • sackson-web-data/trunk/sacksonweb-data.php

    r2762047 r2762111  
    1010 *
    1111 * @link              http://data.sacksonweb.com/author
    12  * @since             1.1.5
     12 * @since             1.1.5.1
    1313 * @package           Sacksonweb_Data
    1414 *
     
    1717 * Plugin URI:        http://data.sacksonweb.com
    1818 * Description:       A tool to monitor security issues, performance issues, and Wordpress settings that should be changed.
    19  * Version:           1.1.5
     19 * Version:           1.1.5.1
    2020 * Author:            Eric Thornton
    2121 * Author URI:        http://data.sacksonweb.com/author
     
    3535 *
    3636 */
    37 define( 'SACKSONWEB_DATA_VERSION', '1.1.5' );
     37define( 'SACKSONWEB_DATA_VERSION', '1.1.5.1' );
    3838
    3939/**
Note: See TracChangeset for help on using the changeset viewer.