Plugin Directory

Changeset 3400909


Ignore:
Timestamp:
11/22/2025 11:48:28 AM (4 months ago)
Author:
PierreLannoy
Message:

IP Locator 4.3.0 released from GitHub

Location:
ip-locator
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ip-locator/tags/4.3.0/CHANGELOG.md

    r3272128 r3400909  
    33
    44The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **IP Locator** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     5
     6## [4.3.0] - 2025-11-22
     7
     8### Added
     9- Compatibility with WordPress 6.9.
    510
    611## [4.2.1] - 2025-04-14
  • ip-locator/tags/4.3.0/includes/plugin/class-updater.php

    r3257009 r3400909  
    207207        }
    208208        $md                           = new Markdown();
    209         $res                          = new \stdClass();
     209        if ( ! is_object( $res ) ) {
     210            $res = new \stdClass();
     211        }
    210212        $res->name                    = $this->name;
    211213        $res->homepage                = 'https://perfops.one/' . $this->slug;
     
    222224        $res->download_link           = $infos->download_url;
    223225        $res->trunk                   = $infos->download_url;
    224         $res->sections                = [
    225             'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
    226         ];
    227         $res->banners                 = [
    228             "low"  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
    229             "high" => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
    230         ];
     226        if ( isset( $res->sections['changelog'] ) ) {
     227            $res->sections['changelog'] = $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>';
     228        } else {
     229            $res->sections = [
     230                'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
     231            ];
     232        }
     233        if ( isset( $res->banners['low'] ) && isset( $res->banners['high'] )) {
     234            $res->banners['low'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg';
     235            $res->banners['high'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg';
     236        } else {
     237            $res->banners                 = [
     238                'low'  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
     239                'high' => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
     240            ];
     241        }
    231242        return $res;
    232243    }
  • ip-locator/tags/4.3.0/init.php

    r3272128 r3400909  
    1313define( 'IPLOCATOR_PRODUCT_ABBREVIATION', 'iplocator' );
    1414define( 'IPLOCATOR_SLUG', 'ip-locator' );
    15 define( 'IPLOCATOR_VERSION', '4.2.1' );
     15define( 'IPLOCATOR_VERSION', '4.3.0' );
    1616define( 'IPLOCATOR_API_VERSION', '3' );
    1717define( 'IPLOCATOR_CODENAME', '"-"' );
  • ip-locator/tags/4.3.0/ip-locator.php

    r3272128 r3400909  
    1111 * Plugin URI:        https://perfops.one/ip-locator
    1212 * Description:       Country and language IP-based detection.
    13  * Version:           4.2.1
     13 * Version:           4.3.0
    1414 * Requires at least: 6.2
    1515 * Requires PHP:      8.1
  • ip-locator/tags/4.3.0/readme.txt

    r3272128 r3400909  
    44Requires at least: 6.2
    55Requires PHP: 8.1
    6 Tested up to: 6.8
    7 Stable tag: 4.2.1
     6Tested up to: 6.9
     7Stable tag: 4.3.0
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • ip-locator/trunk/CHANGELOG.md

    r3272128 r3400909  
    33
    44The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **IP Locator** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
     5
     6## [4.3.0] - 2025-11-22
     7
     8### Added
     9- Compatibility with WordPress 6.9.
    510
    611## [4.2.1] - 2025-04-14
  • ip-locator/trunk/includes/plugin/class-updater.php

    r3257009 r3400909  
    207207        }
    208208        $md                           = new Markdown();
    209         $res                          = new \stdClass();
     209        if ( ! is_object( $res ) ) {
     210            $res = new \stdClass();
     211        }
    210212        $res->name                    = $this->name;
    211213        $res->homepage                = 'https://perfops.one/' . $this->slug;
     
    222224        $res->download_link           = $infos->download_url;
    223225        $res->trunk                   = $infos->download_url;
    224         $res->sections                = [
    225             'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
    226         ];
    227         $res->banners                 = [
    228             "low"  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
    229             "high" => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
    230         ];
     226        if ( isset( $res->sections['changelog'] ) ) {
     227            $res->sections['changelog'] = $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>';
     228        } else {
     229            $res->sections = [
     230                'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
     231            ];
     232        }
     233        if ( isset( $res->banners['low'] ) && isset( $res->banners['high'] )) {
     234            $res->banners['low'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg';
     235            $res->banners['high'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg';
     236        } else {
     237            $res->banners                 = [
     238                'low'  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
     239                'high' => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
     240            ];
     241        }
    231242        return $res;
    232243    }
  • ip-locator/trunk/init.php

    r3272128 r3400909  
    1313define( 'IPLOCATOR_PRODUCT_ABBREVIATION', 'iplocator' );
    1414define( 'IPLOCATOR_SLUG', 'ip-locator' );
    15 define( 'IPLOCATOR_VERSION', '4.2.1' );
     15define( 'IPLOCATOR_VERSION', '4.3.0' );
    1616define( 'IPLOCATOR_API_VERSION', '3' );
    1717define( 'IPLOCATOR_CODENAME', '"-"' );
  • ip-locator/trunk/ip-locator.php

    r3272128 r3400909  
    1111 * Plugin URI:        https://perfops.one/ip-locator
    1212 * Description:       Country and language IP-based detection.
    13  * Version:           4.2.1
     13 * Version:           4.3.0
    1414 * Requires at least: 6.2
    1515 * Requires PHP:      8.1
  • ip-locator/trunk/readme.txt

    r3272128 r3400909  
    44Requires at least: 6.2
    55Requires PHP: 8.1
    6 Tested up to: 6.8
    7 Stable tag: 4.2.1
     6Tested up to: 6.9
     7Stable tag: 4.3.0
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.