Plugin Directory

Changeset 3387750

Timestamp:
10/31/2025 04:51:55 PM (4 months ago)
Author:
matteoenna
Message:

[Easy Basic Authentication] Release 3.9.0

Location:
easy-basic-authentication
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easy-basic-authentication/tags/3.9.0/class/easy-basic-authentication-class.php

    r3318919 r3387750  
    5252        }
    5353
     54
     55
     56
     57
    5458        if (!isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['HTTP_AUTHORIZATION'])) {
    5559            if (stripos($_SERVER['HTTP_AUTHORIZATION'], 'basic') === 0) {
     
    6569    }
    6670     
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
    67106    public function whiteListChecker() {
    68107        if (!isset($_SERVER['REMOTE_ADDR'])) {
     
    129168    }
    130169
     170
     171
     172
     173
    131174    public function basic_auth_plugin_menu() {
    132175        add_menu_page(
  • easy-basic-authentication/tags/3.9.0/class/easy-basic-authentication-form-class.php

    r3235137 r3387750  
    4949            ),
    5050            '8' => array(
     51
     52
     53
     54
     55
    5156              'id'        => 'basic-auth-plugin-remove-data-after-uninstall',
    5257              'title'     => __('Remove plugin data after uninstall', 'easy-basic-authentication'),
     
    136141        $white_list = get_option( 'basic_auth_plugin_whitelist' );
    137142        $this->printInputText("text","basic_auth_plugin_whitelist",esc_attr( $white_list ),__('White list, separated by comma. Ex. 127.0.0.1, 1.1.1.1/20, 1.1.0.0 - 1.1.0.255', 'easy-basic-authentication'));
     143
     144
     145
     146
     147
    138148    }
    139149
     
    161171            $white_list = sanitize_text_field( $param['basic_auth_plugin_whitelist'] );
    162172            $remove_data = isset( $param['basic_auth_plugin_remove_data_after_uninstall'] ) ? 1 : 0;
     173
    163174
    164175            if ( empty( $username ) ) {
     
    195206            update_option( 'basic_auth_plugin_alert_enable', $alert_enable );
    196207            update_option( 'basic_auth_plugin_remove_data_after_uninstall', $remove_data );
     208
    197209
    198210            if( $this->validateIpList( $white_list ) || strlen($white_list) == 0 ) {
  • easy-basic-authentication/tags/3.9.0/easy-basic-authentication.php

    r3353318 r3387750  
    33   Plugin Name: Easy Basic Authentication
    44   description: Enhance WordPress security with Easy Basic Authentication plugin.
    5    Version: 3.8.0
     5   Version: 3..0
    66   Author: Matteo Enna
    77   Author URI: https://matteoenna.it/it/wordpress-work/
  • easy-basic-authentication/tags/3.9.0/readme.txt

    r3353318 r3387750  
    77Requires PHP: 7.2.5
    88Tested up to: 6.8.1
    9 Stable tag: 3.8.0
     9Stable tag: 3..0
    1010License: GPLv2 or later
    1111
  • easy-basic-authentication/trunk/class/easy-basic-authentication-class.php

    r3318919 r3387750  
    5252        }
    5353
     54
     55
     56
     57
    5458        if (!isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['HTTP_AUTHORIZATION'])) {
    5559            if (stripos($_SERVER['HTTP_AUTHORIZATION'], 'basic') === 0) {
     
    6569    }
    6670     
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
     104
     105
    67106    public function whiteListChecker() {
    68107        if (!isset($_SERVER['REMOTE_ADDR'])) {
     
    129168    }
    130169
     170
     171
     172
     173
    131174    public function basic_auth_plugin_menu() {
    132175        add_menu_page(
  • easy-basic-authentication/trunk/class/easy-basic-authentication-form-class.php

    r3235137 r3387750  
    4949            ),
    5050            '8' => array(
     51
     52
     53
     54
     55
    5156              'id'        => 'basic-auth-plugin-remove-data-after-uninstall',
    5257              'title'     => __('Remove plugin data after uninstall', 'easy-basic-authentication'),
     
    136141        $white_list = get_option( 'basic_auth_plugin_whitelist' );
    137142        $this->printInputText("text","basic_auth_plugin_whitelist",esc_attr( $white_list ),__('White list, separated by comma. Ex. 127.0.0.1, 1.1.1.1/20, 1.1.0.0 - 1.1.0.255', 'easy-basic-authentication'));
     143
     144
     145
     146
     147
    138148    }
    139149
     
    161171            $white_list = sanitize_text_field( $param['basic_auth_plugin_whitelist'] );
    162172            $remove_data = isset( $param['basic_auth_plugin_remove_data_after_uninstall'] ) ? 1 : 0;
     173
    163174
    164175            if ( empty( $username ) ) {
     
    195206            update_option( 'basic_auth_plugin_alert_enable', $alert_enable );
    196207            update_option( 'basic_auth_plugin_remove_data_after_uninstall', $remove_data );
     208
    197209
    198210            if( $this->validateIpList( $white_list ) || strlen($white_list) == 0 ) {
  • easy-basic-authentication/trunk/easy-basic-authentication.php

    r3353318 r3387750  
    33   Plugin Name: Easy Basic Authentication
    44   description: Enhance WordPress security with Easy Basic Authentication plugin.
    5    Version: 3.8.0
     5   Version: 3..0
    66   Author: Matteo Enna
    77   Author URI: https://matteoenna.it/it/wordpress-work/
  • easy-basic-authentication/trunk/readme.txt

    r3353318 r3387750  
    77Requires PHP: 7.2.5
    88Tested up to: 6.8.1
    9 Stable tag: 3.8.0
     9Stable tag: 3..0
    1010License: GPLv2 or later
    1111
Note: See TracChangeset for help on using the changeset viewer.