Plugin Directory

Changeset 3285831


Ignore:
Timestamp:
05/01/2025 07:43:14 PM (11 months ago)
Author:
creativform
Message:

8.8.6

  • Bugfix on the lookup sidebar
  • Bugfix on the cache
Location:
cf-geoplugin
Files:
503 added
7 edited

Legend:

Unmodified
Added
Removed
  • cf-geoplugin/trunk/CHANGELOG.txt

    r3270891 r3285831  
    11== Changelog ==
     2
     3= 8.8.6 =
     4* Bugfix on the lookup sidebar
     5* Bugfix on the cache
    26
    37= 8.8.5 =
  • cf-geoplugin/trunk/inc/classes/API.php

    r3270891 r3285831  
    164164
    165165                if (isset($return['timezone']) && $return['timezone'] !== date_default_timezone_get()) {
    166                     if (in_array($return['timezone'], DateTimeZone::listIdentifiers(), true)) {
     166                    if (in_array($return['timezone'], DateTimeZone::listIdentifiers())) {
    167167                        $new_client_date = $client_date->setTimeZone(new DateTimeZone($return['timezone']));
    168168                    } else {
  • cf-geoplugin/trunk/inc/classes/Cache.php

    r3270891 r3285831  
    221221                $key = key(self::$cache);
    222222
    223                 if (!in_array($key, $exclude, true)) {
     223                if (!in_array($key, $exclude)) {
    224224                    self::delete($key);
    225225                }
  • cf-geoplugin/trunk/inc/classes/Form.php

    r3270891 r3285831  
    335335                    }
    336336                }
    337                 $current = (in_array($val, $find, true) ? ' selected' : '');
     337                $current = (in_array($val, $find) ? ' selected' : '');
    338338
    339339                $options_render[] = apply_filters(
  • cf-geoplugin/trunk/inc/classes/License.php

    r3270891 r3285831  
    612612                if (is_array($name_or_array)) {
    613613                    foreach ($name_or_array as $key => $val) {
    614                         if (in_array($key, $filter, true) !== false) {
     614                        if (in_array($key, $filter) !== false) {
    615615                            $options[$key] = CFGP_Options::sanitize($val);
    616616                        }
    617617                    }
    618618                } elseif (!is_numeric($name_or_array) && is_string($name_or_array)) {
    619                     if (in_array($name_or_array, $filter, true) !== false) {
     619                    if (in_array($name_or_array, $filter) !== false) {
    620620                        $options[$name_or_array] = CFGP_Options::sanitize($value);
    621621                    }
  • cf-geoplugin/trunk/inc/settings/sidebar.php

    r3270891 r3285831  
    133133    </li>
    134134    <li class="cfgp-statistic-limit">
    135         <?php if (in_array(CFGP_U::api('status'), [200,402], true)) : ?>
     135        <?php if (in_array(CFGP_U::api('status'), [200,402])) : ?>
    136136            <h3><?php $this->cfgp_lookup_status_icon(CFGP_U::api('available_lookup')); ?> <?php esc_html_e('Lookup', 'cf-geoplugin'); ?></h3>
    137137            <?php if (CFGP_U::api('available_lookup') === 'lifetime') : ?>
  • cf-geoplugin/trunk/readme.txt

    r3270891 r3285831  
    66Tested up to: 6.8
    77Requires PHP: 7.0
    8 Stable tag: 8.8.5
     8Stable tag: 8.8.6
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    414414== Changelog ==
    415415
     416= 8.8.6 =
     417* Bugfix on the lookup sidebar
     418* Bugfix on the cache
     419
    416420= 8.8.5 =
    417421* Removed all PHP 5.6 specific syntax to support minimum PHP 7.4
     
    495499== Upgrade Notice ==
    496500
     501= 8.8.6 =
     502* Bugfix on the lookup sidebar
     503* Bugfix on the cache
     504
    497505= 8.8.5 =
    498506* Removed all PHP 5.6 specific syntax to support minimum PHP 7.4
Note: See TracChangeset for help on using the changeset viewer.