Plugin Directory

Changeset 3395517


Ignore:
Timestamp:
11/14/2025 06:57:38 AM (4 months ago)
Author:
PierreLannoy
Message:

Traffic 3.3.0 released from GitHub

Location:
traffic
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • traffic/tags/3.3.0/CHANGELOG.md

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

    r3272119 r3395517  
    209209        }
    210210        $md                           = new Markdown();
    211         $res                          = new \stdClass();
     211        if ( ! is_object( $res ) ) {
     212            $res = new \stdClass();
     213        }
    212214        $res->name                    = $this->name;
    213215        $res->homepage                = 'https://perfops.one/' . $this->slug;
     
    224226        $res->download_link           = $infos->download_url;
    225227        $res->trunk                   = $infos->download_url;
    226         $res->sections                = [
    227             'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
    228         ];
    229         $res->banners                 = [
    230             "low"  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
    231             "high" => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
    232         ];
     228        if ( isset( $res->sections['changelog'] ) ) {
     229            $res->sections['changelog'] = $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>';
     230        } else {
     231            $res->sections = [
     232                'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
     233            ];
     234        }
     235        if ( isset( $res->banners['low'] ) && isset( $res->banners['high'] )) {
     236            $res->banners['low'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg';
     237            $res->banners['high'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg';
     238        } else {
     239            $res->banners                 = [
     240                'low'  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
     241                'high' => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
     242            ];
     243        }
    233244        return $res;
    234245    }
  • traffic/tags/3.3.0/init.php

    r3272119 r3395517  
    1313define( 'TRAFFIC_PRODUCT_ABBREVIATION', 'traffic' );
    1414define( 'TRAFFIC_SLUG', 'traffic' );
    15 define( 'TRAFFIC_VERSION', '3.2.0' );
     15define( 'TRAFFIC_VERSION', '3.3.0' );
    1616define( 'TRAFFIC_API_VERSION', '2' );
    1717define( 'TRAFFIC_CODENAME', '"-"' );
  • traffic/tags/3.3.0/readme.txt

    r3272119 r3395517  
    44Requires at least: 6.2
    55Requires PHP: 8.1
    6 Tested up to: 6.8
    7 Stable tag: 3.2.0
     6Tested up to: 6.9
     7Stable tag: 3.3.0
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • traffic/tags/3.3.0/traffic.php

    r3272119 r3395517  
    1111 * Plugin URI:        https://perfops.one/traffic
    1212 * Description:       Full featured monitoring & analytics for WordPress APIs.
    13  * Version:           3.2.0
     13 * Version:           3.3.0
    1414 * Requires at least: 6.2
    1515 * Requires PHP:      8.1
  • traffic/trunk/CHANGELOG.md

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

    r3272119 r3395517  
    209209        }
    210210        $md                           = new Markdown();
    211         $res                          = new \stdClass();
     211        if ( ! is_object( $res ) ) {
     212            $res = new \stdClass();
     213        }
    212214        $res->name                    = $this->name;
    213215        $res->homepage                = 'https://perfops.one/' . $this->slug;
     
    224226        $res->download_link           = $infos->download_url;
    225227        $res->trunk                   = $infos->download_url;
    226         $res->sections                = [
    227             'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
    228         ];
    229         $res->banners                 = [
    230             "low"  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
    231             "high" => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
    232         ];
     228        if ( isset( $res->sections['changelog'] ) ) {
     229            $res->sections['changelog'] = $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>';
     230        } else {
     231            $res->sections = [
     232                'changelog' => $md->get_inline( $infos->changelog, [] ) . '<br/><br/><p><a target="_blank" href="' . $res->homepage . '-changelog">CHANGELOG »</a></p>',
     233            ];
     234        }
     235        if ( isset( $res->banners['low'] ) && isset( $res->banners['high'] )) {
     236            $res->banners['low'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg';
     237            $res->banners['high'] = str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg';
     238        } else {
     239            $res->banners                 = [
     240                'low'  => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-772x250.jpg',
     241                'high' => str_replace( 'github.com', 'raw.githubusercontent.com', $this->product ) . '/refs/heads/master/.wordpress-org/banner-1544x500.jpg'
     242            ];
     243        }
    233244        return $res;
    234245    }
  • traffic/trunk/init.php

    r3272119 r3395517  
    1313define( 'TRAFFIC_PRODUCT_ABBREVIATION', 'traffic' );
    1414define( 'TRAFFIC_SLUG', 'traffic' );
    15 define( 'TRAFFIC_VERSION', '3.2.0' );
     15define( 'TRAFFIC_VERSION', '3.3.0' );
    1616define( 'TRAFFIC_API_VERSION', '2' );
    1717define( 'TRAFFIC_CODENAME', '"-"' );
  • traffic/trunk/readme.txt

    r3272119 r3395517  
    44Requires at least: 6.2
    55Requires PHP: 8.1
    6 Tested up to: 6.8
    7 Stable tag: 3.2.0
     6Tested up to: 6.9
     7Stable tag: 3.3.0
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • traffic/trunk/traffic.php

    r3272119 r3395517  
    1111 * Plugin URI:        https://perfops.one/traffic
    1212 * Description:       Full featured monitoring & analytics for WordPress APIs.
    13  * Version:           3.2.0
     13 * Version:           3.3.0
    1414 * Requires at least: 6.2
    1515 * Requires PHP:      8.1
Note: See TracChangeset for help on using the changeset viewer.