Plugin Directory

Changeset 3265445


Ignore:
Timestamp:
04/02/2025 06:36:12 AM (12 months ago)
Author:
tlamedia
Message:

Update to version 2.3.2 from GitHub

Location:
gtm-kit
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gtm-kit/tags/2.3.2/changelog.txt

    r3254521 r3265445  
    11*** GTM Kit ***
     2
     32025-04-02 - version 2.3.2
     4* Fix: Permission were not checked correct on the admin API.
    25
    362025-03-12 - version 2.3.1
  • gtm-kit/tags/2.3.2/gtm-kit.php

    r3254521 r3265445  
    44 *
    55 * Plugin Name: GTM Kit
    6  * Version:     2.3.1
     6 * Version:     2.3.2
    77 * Plugin URI:  https://gtmkit.com/
    88 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
     
    2828}
    2929
    30 const GTMKIT_VERSION = '2.3.1';
     30const GTMKIT_VERSION = '2.3.2';
    3131
    3232if ( ! defined( 'GTMKIT_FILE' ) ) {
  • gtm-kit/tags/2.3.2/languages/gtm-kit.pot

    r3254521 r3265445  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: GTM Kit 2.3.1\n"
     5"Project-Id-Version: GTM Kit 2.3.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gtm-kit\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-03-11T08:57:32+00:00\n"
     12"POT-Creation-Date: 2025-04-01T14:54:13+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    6161msgstr ""
    6262
    63 #: src/Admin/AdminAPI.php:96
    64 #: src/Common/RestAPIServer.php:33
    65 msgid "Only authenticated users can access endpoint."
    66 msgstr ""
    67 
    68 #: src/Admin/AdminAPI.php:142
    69 #: src/Admin/AdminAPI.php:147
     63#: src/Admin/AdminAPI.php:126
     64#: src/Admin/AdminAPI.php:131
    7065msgid "The support ticket was not found. Please check that you have entered the correct ticket."
    7166msgstr ""
    7267
    73 #: src/Admin/AdminAPI.php:144
     68#: src/Admin/AdminAPI.php:128
    7469msgid "Thank you! We have received the data."
    7570msgstr ""
     
    247242msgstr ""
    248243
     244#: src/Common/RestAPIServer.php:33
     245msgid "Only authenticated users can access endpoint."
     246msgstr ""
     247
    249248#: src/Common/Util.php:159
    250249msgid "Server type:"
  • gtm-kit/tags/2.3.2/readme.txt

    r3254521 r3265445  
    44Tags: google tag manager, gtm, woocommerce, analytics, ga4
    55Tested up to: 6.7
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9393== Changelog ==
    9494
     95= 2.3.2 =
     96
     97Release date: 2025-04-02
     98
     99#### Security:
     100* Permissions were not checked correct on the admin API - [CVE-2025-31001](https://www.cve.org/CVERecord?id=CVE-2025-31001).
     101
    95102= 2.3.1 =
    96103
  • gtm-kit/tags/2.3.2/src/Admin/AbstractOptionsPage.php

    r3156080 r3265445  
    198198            #gtmkit-settings-loader {
    199199                visibility: hidden;
    200                 animation: loadGTMKitSettingsNoJSView 0s 2s forwards;
     200                animation: loadGTMKitSettingsNoJSView 0s 5s forwards;
    201201            }
    202202
  • gtm-kit/tags/2.3.2/src/Admin/AdminAPI.php

    r3169885 r3265445  
    8282            ]
    8383        );
    84     }
    85 
    86     /**
    87      * Permission callback
    88      *
    89      * @return true|WP_Error
    90      */
    91     public function permission_callback() {
    92         $capability = is_multisite() ? 'manage_network_options' : 'manage_options';
    93         $capability = apply_filters( 'gtmkit_admin_capability', $capability );
    94 
    95         if ( ! current_user_can( $capability ) ) {
    96             return new WP_Error( 'rest_forbidden', esc_html__( 'Only authenticated users can access endpoint.', 'gtm-kit' ), [ 'status' => 401 ] );
    97         }
    98 
    99         return true;
    10084    }
    10185
  • gtm-kit/tags/2.3.2/src/Common/RestAPIServer.php

    r3149785 r3265445  
    4646     */
    4747    public function register_rest_route( string $route, array $args ): void {
    48         if ( ! isset( $args['permissions_callback'] ) ) {
     48        if ( ! isset( $args['permission_callback'] ) ) {
    4949            $args['permission_callback'] = [ $this, 'permission_callback' ];
    5050        }
  • gtm-kit/tags/2.3.2/vendor/composer/installed.php

    r3254521 r3265445  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '28b39822035526424f406254d41a7060e988065b',
     6        'reference' => '5e9a5d2b672646a6181354ffc06b6d9352bf36c0',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '28b39822035526424f406254d41a7060e988065b',
     16            'reference' => '5e9a5d2b672646a6181354ffc06b6d9352bf36c0',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • gtm-kit/trunk/changelog.txt

    r3254521 r3265445  
    11*** GTM Kit ***
     2
     32025-04-02 - version 2.3.2
     4* Fix: Permission were not checked correct on the admin API.
    25
    362025-03-12 - version 2.3.1
  • gtm-kit/trunk/gtm-kit.php

    r3254521 r3265445  
    44 *
    55 * Plugin Name: GTM Kit
    6  * Version:     2.3.1
     6 * Version:     2.3.2
    77 * Plugin URI:  https://gtmkit.com/
    88 * Description: Google Tag Manager implementation focusing on flexibility and pagespeed.
     
    2828}
    2929
    30 const GTMKIT_VERSION = '2.3.1';
     30const GTMKIT_VERSION = '2.3.2';
    3131
    3232if ( ! defined( 'GTMKIT_FILE' ) ) {
  • gtm-kit/trunk/languages/gtm-kit.pot

    r3254521 r3265445  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: GTM Kit 2.3.1\n"
     5"Project-Id-Version: GTM Kit 2.3.2\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gtm-kit\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-03-11T08:57:32+00:00\n"
     12"POT-Creation-Date: 2025-04-01T14:54:13+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.9.0\n"
     
    6161msgstr ""
    6262
    63 #: src/Admin/AdminAPI.php:96
    64 #: src/Common/RestAPIServer.php:33
    65 msgid "Only authenticated users can access endpoint."
    66 msgstr ""
    67 
    68 #: src/Admin/AdminAPI.php:142
    69 #: src/Admin/AdminAPI.php:147
     63#: src/Admin/AdminAPI.php:126
     64#: src/Admin/AdminAPI.php:131
    7065msgid "The support ticket was not found. Please check that you have entered the correct ticket."
    7166msgstr ""
    7267
    73 #: src/Admin/AdminAPI.php:144
     68#: src/Admin/AdminAPI.php:128
    7469msgid "Thank you! We have received the data."
    7570msgstr ""
     
    247242msgstr ""
    248243
     244#: src/Common/RestAPIServer.php:33
     245msgid "Only authenticated users can access endpoint."
     246msgstr ""
     247
    249248#: src/Common/Util.php:159
    250249msgid "Server type:"
  • gtm-kit/trunk/readme.txt

    r3254521 r3265445  
    44Tags: google tag manager, gtm, woocommerce, analytics, ga4
    55Tested up to: 6.7
    6 Stable tag: 2.3.1
     6Stable tag: 2.3.2
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    9393== Changelog ==
    9494
     95= 2.3.2 =
     96
     97Release date: 2025-04-02
     98
     99#### Security:
     100* Permissions were not checked correct on the admin API - [CVE-2025-31001](https://www.cve.org/CVERecord?id=CVE-2025-31001).
     101
    95102= 2.3.1 =
    96103
  • gtm-kit/trunk/src/Admin/AbstractOptionsPage.php

    r3156080 r3265445  
    198198            #gtmkit-settings-loader {
    199199                visibility: hidden;
    200                 animation: loadGTMKitSettingsNoJSView 0s 2s forwards;
     200                animation: loadGTMKitSettingsNoJSView 0s 5s forwards;
    201201            }
    202202
  • gtm-kit/trunk/src/Admin/AdminAPI.php

    r3169885 r3265445  
    8282            ]
    8383        );
    84     }
    85 
    86     /**
    87      * Permission callback
    88      *
    89      * @return true|WP_Error
    90      */
    91     public function permission_callback() {
    92         $capability = is_multisite() ? 'manage_network_options' : 'manage_options';
    93         $capability = apply_filters( 'gtmkit_admin_capability', $capability );
    94 
    95         if ( ! current_user_can( $capability ) ) {
    96             return new WP_Error( 'rest_forbidden', esc_html__( 'Only authenticated users can access endpoint.', 'gtm-kit' ), [ 'status' => 401 ] );
    97         }
    98 
    99         return true;
    10084    }
    10185
  • gtm-kit/trunk/src/Common/RestAPIServer.php

    r3149785 r3265445  
    4646     */
    4747    public function register_rest_route( string $route, array $args ): void {
    48         if ( ! isset( $args['permissions_callback'] ) ) {
     48        if ( ! isset( $args['permission_callback'] ) ) {
    4949            $args['permission_callback'] = [ $this, 'permission_callback' ];
    5050        }
  • gtm-kit/trunk/vendor/composer/installed.php

    r3254521 r3265445  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '28b39822035526424f406254d41a7060e988065b',
     6        'reference' => '5e9a5d2b672646a6181354ffc06b6d9352bf36c0',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => '28b39822035526424f406254d41a7060e988065b',
     16            'reference' => '5e9a5d2b672646a6181354ffc06b6d9352bf36c0',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.