Plugin Directory

Changeset 2805089

Timestamp:
10/26/2022 03:34:21 PM (22 months ago)
Author:
sean212
Message:

Update to version 1.0.1 from GitHub

Location:
rest-api-guard
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • rest-api-guard/tags/1.0.1/README.md

    r2801542 r2805089  
    11# REST API Guard
    22
    3 Stable tag: 1.0.0
     3Stable tag: 1.0.
    44
    55Requires at least: 6.0
     
    1313Tags: alleyinteractive, rest-api-guard
    1414
    15 Contributors: srtfisher
     15Contributors: s
    1616
    1717[![Coding Standards](https://github.com/alleyinteractive/wp-rest-api-guard/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/alleyinteractive/wp-rest-api-guard/actions/workflows/coding-standards.yml)
     
    3333information with the internet anonymously. This plugin aims to make it easier to
    3434restrict access to the REST API for your WordPress site.
     35
     36
     37
     38
     39
    3540
    3641### Settings Page
  • rest-api-guard/tags/1.0.1/plugin.php

    r2801542 r2805089  
    44 * Plugin URI: https://github.com/alleyinteractive/wp-rest-api-guard
    55 * Description: Restrict and control access to the REST API
    6  * Version: 1.0.0
     6 * Version: 1.0.
    77 * Author: Sean Fisher
    88 * Author URI: https://alley.co/
  • rest-api-guard/tags/1.0.1/readme.txt

    r2801545 r2805089  
    11=== REST API Guard ===
    2 Stable tag: 1.0.0
     2Stable tag: 1.0.
    33Requires at least: 6.0
    44Tested up to: 6.0
  • rest-api-guard/tags/1.0.1/settings.php

    r2801542 r2805089  
    77
    88namespace Alley\WP\REST_API_Guard;
     9
     10
     11
     12
    913
    1014add_action( 'admin_menu', __NAMESPACE__ . '\on_admin_menu' );
     
    133137    add_settings_field(
    134138        'anonymous_requests_allowlist',
    135         __( 'Anonyous Request Allowlist', 'rest-api-guard' ),
    136         __NAMESPACE__ . '\render_field',
    137         SETTINGS_KEY,
    138         SETTINGS_KEY,
    139         [
    140             'description' => __( 'Line-seperated allowlist for anonyous requests that should be allowed. All other requests not matching the list will be denied. This setting takes priority over the denylist below. Supports * as a wildcard.', 'rest-api-guard' ),
     139        __( 'Anonyous Request Allowlist', 'rest-api-guard' ),
     140        __NAMESPACE__ . '\render_field',
     141        SETTINGS_KEY,
     142        SETTINGS_KEY,
     143        [
     144            'description' => __( 'Line-seperated allowlist for anonyous requests that should be allowed. All other requests not matching the list will be denied. This setting takes priority over the denylist below. Supports * as a wildcard.', 'rest-api-guard' ),
    141145            'filter'      => 'rest_api_guard_anonymous_requests_allowlist',
    142146            'id'          => 'anonymous_requests_allowlist',
     
    147151    add_settings_field(
    148152        'anonymous_requests_denylist',
    149         __( 'Anonyous Request Allowlist', 'rest-api-guard' ),
    150         __NAMESPACE__ . '\render_field',
    151         SETTINGS_KEY,
    152         SETTINGS_KEY,
    153         [
    154             'description' => __( 'Line-seperated allowlist for anonyous requests that should be denied. All other requests not matching the list will be allowed. Supports * as a wildcard.', 'rest-api-guard' ),
     153        __( 'Anonylist', 'rest-api-guard' ),
     154        __NAMESPACE__ . '\render_field',
     155        SETTINGS_KEY,
     156        SETTINGS_KEY,
     157        [
     158            'description' => __( 'Line-seperated ous requests that should be denied. All other requests not matching the list will be allowed. Supports * as a wildcard.', 'rest-api-guard' ),
    155159            'filter'      => 'rest_api_guard_anonymous_requests_denylist',
    156160            'id'          => 'anonymous_requests_denylist',
     
    176180        'allow_namespace_access'       => ! empty( $input['allow_namespace_access'] ),
    177181        'allow_user_access'            => ! empty( $input['allow_user_access'] ),
    178         'anonymous_requests_allowlist' => ! empty( $input['anonymous_requests_allowlist'] ) ? sanitize_text_field( $input['anonymous_requests_allowlist'] ) : '',
    179         'anonymous_requests_denylist'  => ! empty( $input['anonymous_requests_denylist'] ) ? sanitize_text_field( $input['anonymous_requests_denylist'] ) : '',
     182        'anonymous_requests_allowlist' => ! empty( $input['anonymous_requests_allowlist'] ) ? sanitize_text_field( $input['anonymous_requests_allowlist'] ) : '',
     183        'anonymous_requests_denylist'  => ! empty( $input['anonymous_requests_denylist'] ) ? sanitize_text_field( $input['anonymous_requests_denylist'] ) : '',
    180184    ];
    181185}
  • rest-api-guard/trunk/README.md

    r2801542 r2805089  
    11# REST API Guard
    22
    3 Stable tag: 1.0.0
     3Stable tag: 1.0.
    44
    55Requires at least: 6.0
     
    1313Tags: alleyinteractive, rest-api-guard
    1414
    15 Contributors: srtfisher
     15Contributors: s
    1616
    1717[![Coding Standards](https://github.com/alleyinteractive/wp-rest-api-guard/actions/workflows/coding-standards.yml/badge.svg)](https://github.com/alleyinteractive/wp-rest-api-guard/actions/workflows/coding-standards.yml)
     
    3333information with the internet anonymously. This plugin aims to make it easier to
    3434restrict access to the REST API for your WordPress site.
     35
     36
     37
     38
     39
    3540
    3641### Settings Page
  • rest-api-guard/trunk/plugin.php

    r2801542 r2805089  
    44 * Plugin URI: https://github.com/alleyinteractive/wp-rest-api-guard
    55 * Description: Restrict and control access to the REST API
    6  * Version: 1.0.0
     6 * Version: 1.0.
    77 * Author: Sean Fisher
    88 * Author URI: https://alley.co/
  • rest-api-guard/trunk/readme.txt

    r2801545 r2805089  
    11=== REST API Guard ===
    2 Stable tag: 1.0.0
     2Stable tag: 1.0.
    33Requires at least: 6.0
    44Tested up to: 6.0
  • rest-api-guard/trunk/settings.php

    r2801542 r2805089  
    77
    88namespace Alley\WP\REST_API_Guard;
     9
     10
     11
     12
    913
    1014add_action( 'admin_menu', __NAMESPACE__ . '\on_admin_menu' );
     
    133137    add_settings_field(
    134138        'anonymous_requests_allowlist',
    135         __( 'Anonyous Request Allowlist', 'rest-api-guard' ),
    136         __NAMESPACE__ . '\render_field',
    137         SETTINGS_KEY,
    138         SETTINGS_KEY,
    139         [
    140             'description' => __( 'Line-seperated allowlist for anonyous requests that should be allowed. All other requests not matching the list will be denied. This setting takes priority over the denylist below. Supports * as a wildcard.', 'rest-api-guard' ),
     139        __( 'Anonyous Request Allowlist', 'rest-api-guard' ),
     140        __NAMESPACE__ . '\render_field',
     141        SETTINGS_KEY,
     142        SETTINGS_KEY,
     143        [
     144            'description' => __( 'Line-seperated allowlist for anonyous requests that should be allowed. All other requests not matching the list will be denied. This setting takes priority over the denylist below. Supports * as a wildcard.', 'rest-api-guard' ),
    141145            'filter'      => 'rest_api_guard_anonymous_requests_allowlist',
    142146            'id'          => 'anonymous_requests_allowlist',
     
    147151    add_settings_field(
    148152        'anonymous_requests_denylist',
    149         __( 'Anonyous Request Allowlist', 'rest-api-guard' ),
    150         __NAMESPACE__ . '\render_field',
    151         SETTINGS_KEY,
    152         SETTINGS_KEY,
    153         [
    154             'description' => __( 'Line-seperated allowlist for anonyous requests that should be denied. All other requests not matching the list will be allowed. Supports * as a wildcard.', 'rest-api-guard' ),
     153        __( 'Anonylist', 'rest-api-guard' ),
     154        __NAMESPACE__ . '\render_field',
     155        SETTINGS_KEY,
     156        SETTINGS_KEY,
     157        [
     158            'description' => __( 'Line-seperated ous requests that should be denied. All other requests not matching the list will be allowed. Supports * as a wildcard.', 'rest-api-guard' ),
    155159            'filter'      => 'rest_api_guard_anonymous_requests_denylist',
    156160            'id'          => 'anonymous_requests_denylist',
     
    176180        'allow_namespace_access'       => ! empty( $input['allow_namespace_access'] ),
    177181        'allow_user_access'            => ! empty( $input['allow_user_access'] ),
    178         'anonymous_requests_allowlist' => ! empty( $input['anonymous_requests_allowlist'] ) ? sanitize_text_field( $input['anonymous_requests_allowlist'] ) : '',
    179         'anonymous_requests_denylist'  => ! empty( $input['anonymous_requests_denylist'] ) ? sanitize_text_field( $input['anonymous_requests_denylist'] ) : '',
     182        'anonymous_requests_allowlist' => ! empty( $input['anonymous_requests_allowlist'] ) ? sanitize_text_field( $input['anonymous_requests_allowlist'] ) : '',
     183        'anonymous_requests_denylist'  => ! empty( $input['anonymous_requests_denylist'] ) ? sanitize_text_field( $input['anonymous_requests_denylist'] ) : '',
    180184    ];
    181185}
Note: See TracChangeset for help on using the changeset viewer.