Plugin Directory

Changeset 3296585


Ignore:
Timestamp:
05/19/2025 03:12:30 PM (11 months ago)
Author:
10up
Message:

Update to version 7.5.3 from GitHub

Location:
restricted-site-access
Files:
11 edited
1 copied

Legend:

Unmodified
Added
Removed
  • restricted-site-access/assets/blueprints/blueprint.json

    r3235480 r3296585  
    3333                    ]
    3434                },
    35                 "rsa_activation_version": "7.5.2"
     35                "rsa_activation_version": "7.5.3"
    3636            }
    3737        }
  • restricted-site-access/tags/7.5.3/readme.txt

    r3280152 r3296585  
    33Donate link:       https://10up.com/plugins/restricted-site-access-wordpress/
    44Tags:              privacy, restrict, limited, permissions, security
    5 Requires at least: 6.6
    65Tested up to:      6.8
    7 Stable tag:        7.5.2
     6Stable tag:        7.5.3
    87License:           GPL-2.0-or-later
    98License URI:       https://spdx.org/licenses/GPL-2.0-or-later.html
     
    203202
    204203== Changelog ==
     204
     205= 7.5.3 - 2025-05-19 =
     206
     207**Note that this version bumps the WordPress minimum supported version from 6.5 to 6.6.**
     208
     209* **Changed:** Bump WordPress "tested up to" version 6.8 (props [@kmgalanakis](https://github.com/kmgalanakis), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#349](https://github.com/10up/restricted-site-access/pull/349), [#352](https://github.com/10up/restricted-site-access/pull/352)).
     210* **Changed:** Bump WordPress minimum from 6.5 to 6.6 (props [@jeffpaul](https://github.com/jeffpaul) via [#351](https://github.com/10up/restricted-site-access/pull/351), [#352](https://github.com/10up/restricted-site-access/pull/352)).
     211* **Fixed:** PHP Notice that the function `_load_textdomain_just_in_time` was called incorrectly (props [@kmgalanakis](https://github.com/kmgalanakis), [@dkotter](https://github.com/dkotter) via [#350](https://github.com/10up/restricted-site-access/pull/350)).
     212* **Security:** Bump `axios` from 1.7.4 to 1.8.3 (props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#346](https://github.com/10up/restricted-site-access/pull/346)).
    205213
    206214= 7.5.2 - 2025-02-05 =
     
    279287== Upgrade Notice ==
    280288
     289= 7.5.3 =
     290**Note that this version bumps the WordPress minimum supported version from 6.5 to 6.6.**
     291
    281292= 7.5.2 =
    282293This version bumps the WordPress minimum supported version from 6.4 to 6.5.
  • restricted-site-access/tags/7.5.3/restricted_site_access.php

    r3235480 r3296585  
    44 * Plugin URI:        https://10up.com/plugins/restricted-site-access-wordpress/
    55 * Description:       <strong>Limit access your site</strong> to visitors who are logged in or accessing the site from a set of specific IP addresses. Send restricted visitors to the log in page, redirect them, or display a message or page. <strong>Powerful control over redirection</strong>, including <strong>SEO friendly redirect headers</strong>. Great solution for Extranets, publicly hosted Intranets, or parallel development sites.
    6  * Version:           7.5.2
    7  * Requires at least: 6.5
     6 * Version:           7.5.3
     7 * Requires at least: 6.6
    88 * Requires PHP:      7.4
    99 * Author:            10up
     
    5858}
    5959
    60 define( 'RSA_VERSION', '7.5.2' );
     60define( 'RSA_VERSION', '7.5.3' );
    6161
    6262/**
     
    113113            $instance = new self();
    114114            self::add_actions();
    115             self::populate_fields_array();
    116115        }
    117116
     
    136135        add_action( 'admin_init', array( __CLASS__, 'admin_init' ), 1 );
    137136        add_action( 'init', array( __CLASS__, 'generate_nonce' ) );
     137        add_action( 'init', array( __CLASS__, 'populate_fields' ) );
    138138        add_action( 'wp_ajax_rsa_ip_check', array( __CLASS__, 'ajax_rsa_ip_check' ) );
    139139
     
    159159    public static function generate_nonce() {
    160160        self::$redirection_nonce = wp_create_nonce( 'redirection_nonce' );
     161    }
     162
     163    /**
     164     * Populates the fields array with the field information.
     165     */
     166    public static function populate_fields() {
     167        self::populate_fields_array();
    161168    }
    162169
  • restricted-site-access/tags/7.5.3/vendor/autoload.php

    r2995798 r3296585  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • restricted-site-access/tags/7.5.3/vendor/composer/InstalledVersions.php

    r3235480 r3296585  
    2727class InstalledVersions
    2828{
     29    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
     341    }
     342
     343    /**
    326344     * @return array[]
    327345     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • restricted-site-access/tags/7.5.3/vendor/composer/installed.php

    r3235480 r3296585  
    22    'root' => array(
    33        'name' => '10up/restricted-site-access',
    4         'pretty_version' => '7.5.2',
    5         'version' => '7.5.2.0',
    6         'reference' => 'a6d986596ea6be4f7c927f0dc22c577d864ff5f9',
     4        'pretty_version' => '7.5.3',
     5        'version' => '7.5.3.0',
     6        'reference' => '671e3e7de877cfb6f19a5c70065fa89e719e7367',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '10up/restricted-site-access' => array(
    14             'pretty_version' => '7.5.2',
    15             'version' => '7.5.2.0',
    16             'reference' => 'a6d986596ea6be4f7c927f0dc22c577d864ff5f9',
     14            'pretty_version' => '7.5.3',
     15            'version' => '7.5.3.0',
     16            'reference' => '671e3e7de877cfb6f19a5c70065fa89e719e7367',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • restricted-site-access/trunk/readme.txt

    r3280152 r3296585  
    33Donate link:       https://10up.com/plugins/restricted-site-access-wordpress/
    44Tags:              privacy, restrict, limited, permissions, security
    5 Requires at least: 6.6
    65Tested up to:      6.8
    7 Stable tag:        7.5.2
     6Stable tag:        7.5.3
    87License:           GPL-2.0-or-later
    98License URI:       https://spdx.org/licenses/GPL-2.0-or-later.html
     
    203202
    204203== Changelog ==
     204
     205= 7.5.3 - 2025-05-19 =
     206
     207**Note that this version bumps the WordPress minimum supported version from 6.5 to 6.6.**
     208
     209* **Changed:** Bump WordPress "tested up to" version 6.8 (props [@kmgalanakis](https://github.com/kmgalanakis), [@jeffpaul](https://github.com/jeffpaul), [@dkotter](https://github.com/dkotter) via [#349](https://github.com/10up/restricted-site-access/pull/349), [#352](https://github.com/10up/restricted-site-access/pull/352)).
     210* **Changed:** Bump WordPress minimum from 6.5 to 6.6 (props [@jeffpaul](https://github.com/jeffpaul) via [#351](https://github.com/10up/restricted-site-access/pull/351), [#352](https://github.com/10up/restricted-site-access/pull/352)).
     211* **Fixed:** PHP Notice that the function `_load_textdomain_just_in_time` was called incorrectly (props [@kmgalanakis](https://github.com/kmgalanakis), [@dkotter](https://github.com/dkotter) via [#350](https://github.com/10up/restricted-site-access/pull/350)).
     212* **Security:** Bump `axios` from 1.7.4 to 1.8.3 (props [@dependabot](https://github.com/apps/dependabot), [@iamdharmesh](https://github.com/iamdharmesh) via [#346](https://github.com/10up/restricted-site-access/pull/346)).
    205213
    206214= 7.5.2 - 2025-02-05 =
     
    279287== Upgrade Notice ==
    280288
     289= 7.5.3 =
     290**Note that this version bumps the WordPress minimum supported version from 6.5 to 6.6.**
     291
    281292= 7.5.2 =
    282293This version bumps the WordPress minimum supported version from 6.4 to 6.5.
  • restricted-site-access/trunk/restricted_site_access.php

    r3235480 r3296585  
    44 * Plugin URI:        https://10up.com/plugins/restricted-site-access-wordpress/
    55 * Description:       <strong>Limit access your site</strong> to visitors who are logged in or accessing the site from a set of specific IP addresses. Send restricted visitors to the log in page, redirect them, or display a message or page. <strong>Powerful control over redirection</strong>, including <strong>SEO friendly redirect headers</strong>. Great solution for Extranets, publicly hosted Intranets, or parallel development sites.
    6  * Version:           7.5.2
    7  * Requires at least: 6.5
     6 * Version:           7.5.3
     7 * Requires at least: 6.6
    88 * Requires PHP:      7.4
    99 * Author:            10up
     
    5858}
    5959
    60 define( 'RSA_VERSION', '7.5.2' );
     60define( 'RSA_VERSION', '7.5.3' );
    6161
    6262/**
     
    113113            $instance = new self();
    114114            self::add_actions();
    115             self::populate_fields_array();
    116115        }
    117116
     
    136135        add_action( 'admin_init', array( __CLASS__, 'admin_init' ), 1 );
    137136        add_action( 'init', array( __CLASS__, 'generate_nonce' ) );
     137        add_action( 'init', array( __CLASS__, 'populate_fields' ) );
    138138        add_action( 'wp_ajax_rsa_ip_check', array( __CLASS__, 'ajax_rsa_ip_check' ) );
    139139
     
    159159    public static function generate_nonce() {
    160160        self::$redirection_nonce = wp_create_nonce( 'redirection_nonce' );
     161    }
     162
     163    /**
     164     * Populates the fields array with the field information.
     165     */
     166    public static function populate_fields() {
     167        self::populate_fields_array();
    161168    }
    162169
  • restricted-site-access/trunk/vendor/autoload.php

    r2995798 r3296585  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • restricted-site-access/trunk/vendor/composer/InstalledVersions.php

    r3235480 r3296585  
    2727class InstalledVersions
    2828{
     29    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
     341    }
     342
     343    /**
    326344     * @return array[]
    327345     * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • restricted-site-access/trunk/vendor/composer/installed.php

    r3235480 r3296585  
    22    'root' => array(
    33        'name' => '10up/restricted-site-access',
    4         'pretty_version' => '7.5.2',
    5         'version' => '7.5.2.0',
    6         'reference' => 'a6d986596ea6be4f7c927f0dc22c577d864ff5f9',
     4        'pretty_version' => '7.5.3',
     5        'version' => '7.5.3.0',
     6        'reference' => '671e3e7de877cfb6f19a5c70065fa89e719e7367',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '10up/restricted-site-access' => array(
    14             'pretty_version' => '7.5.2',
    15             'version' => '7.5.2.0',
    16             'reference' => 'a6d986596ea6be4f7c927f0dc22c577d864ff5f9',
     14            'pretty_version' => '7.5.3',
     15            'version' => '7.5.3.0',
     16            'reference' => '671e3e7de877cfb6f19a5c70065fa89e719e7367',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.