Changeset 3387750
- Timestamp:
- 10/31/2025 04:51:55 PM (4 months ago)
- Location:
- easy-basic-authentication
- Files:
-
- 8 edited
- 1 copied
-
tags/3.9.0 (copied) (copied from easy-basic-authentication/trunk)
-
tags/3.9.0/class/easy-basic-authentication-class.php (modified) (3 diffs)
-
tags/3.9.0/class/easy-basic-authentication-form-class.php (modified) (4 diffs)
-
tags/3.9.0/easy-basic-authentication.php (modified) (1 diff)
-
tags/3.9.0/readme.txt (modified) (1 diff)
-
trunk/class/easy-basic-authentication-class.php (modified) (3 diffs)
-
trunk/class/easy-basic-authentication-form-class.php (modified) (4 diffs)
-
trunk/easy-basic-authentication.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-basic-authentication/tags/3.9.0/class/easy-basic-authentication-class.php
r3318919 r3387750 52 52 } 53 53 54 55 56 57 54 58 if (!isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['HTTP_AUTHORIZATION'])) { 55 59 if (stripos($_SERVER['HTTP_AUTHORIZATION'], 'basic') === 0) { … … 65 69 } 66 70 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 67 106 public function whiteListChecker() { 68 107 if (!isset($_SERVER['REMOTE_ADDR'])) { … … 129 168 } 130 169 170 171 172 173 131 174 public function basic_auth_plugin_menu() { 132 175 add_menu_page( -
easy-basic-authentication/tags/3.9.0/class/easy-basic-authentication-form-class.php
r3235137 r3387750 49 49 ), 50 50 '8' => array( 51 52 53 54 55 51 56 'id' => 'basic-auth-plugin-remove-data-after-uninstall', 52 57 'title' => __('Remove plugin data after uninstall', 'easy-basic-authentication'), … … 136 141 $white_list = get_option( 'basic_auth_plugin_whitelist' ); 137 142 $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 138 148 } 139 149 … … 161 171 $white_list = sanitize_text_field( $param['basic_auth_plugin_whitelist'] ); 162 172 $remove_data = isset( $param['basic_auth_plugin_remove_data_after_uninstall'] ) ? 1 : 0; 173 163 174 164 175 if ( empty( $username ) ) { … … 195 206 update_option( 'basic_auth_plugin_alert_enable', $alert_enable ); 196 207 update_option( 'basic_auth_plugin_remove_data_after_uninstall', $remove_data ); 208 197 209 198 210 if( $this->validateIpList( $white_list ) || strlen($white_list) == 0 ) { -
easy-basic-authentication/tags/3.9.0/easy-basic-authentication.php
r3353318 r3387750 3 3 Plugin Name: Easy Basic Authentication 4 4 description: Enhance WordPress security with Easy Basic Authentication plugin. 5 Version: 3. 8.05 Version: 3..0 6 6 Author: Matteo Enna 7 7 Author URI: https://matteoenna.it/it/wordpress-work/ -
easy-basic-authentication/tags/3.9.0/readme.txt
r3353318 r3387750 7 7 Requires PHP: 7.2.5 8 8 Tested up to: 6.8.1 9 Stable tag: 3. 8.09 Stable tag: 3..0 10 10 License: GPLv2 or later 11 11 -
easy-basic-authentication/trunk/class/easy-basic-authentication-class.php
r3318919 r3387750 52 52 } 53 53 54 55 56 57 54 58 if (!isset($_SERVER['PHP_AUTH_USER']) && isset($_SERVER['HTTP_AUTHORIZATION'])) { 55 59 if (stripos($_SERVER['HTTP_AUTHORIZATION'], 'basic') === 0) { … … 65 69 } 66 70 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 67 106 public function whiteListChecker() { 68 107 if (!isset($_SERVER['REMOTE_ADDR'])) { … … 129 168 } 130 169 170 171 172 173 131 174 public function basic_auth_plugin_menu() { 132 175 add_menu_page( -
easy-basic-authentication/trunk/class/easy-basic-authentication-form-class.php
r3235137 r3387750 49 49 ), 50 50 '8' => array( 51 52 53 54 55 51 56 'id' => 'basic-auth-plugin-remove-data-after-uninstall', 52 57 'title' => __('Remove plugin data after uninstall', 'easy-basic-authentication'), … … 136 141 $white_list = get_option( 'basic_auth_plugin_whitelist' ); 137 142 $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 138 148 } 139 149 … … 161 171 $white_list = sanitize_text_field( $param['basic_auth_plugin_whitelist'] ); 162 172 $remove_data = isset( $param['basic_auth_plugin_remove_data_after_uninstall'] ) ? 1 : 0; 173 163 174 164 175 if ( empty( $username ) ) { … … 195 206 update_option( 'basic_auth_plugin_alert_enable', $alert_enable ); 196 207 update_option( 'basic_auth_plugin_remove_data_after_uninstall', $remove_data ); 208 197 209 198 210 if( $this->validateIpList( $white_list ) || strlen($white_list) == 0 ) { -
easy-basic-authentication/trunk/easy-basic-authentication.php
r3353318 r3387750 3 3 Plugin Name: Easy Basic Authentication 4 4 description: Enhance WordPress security with Easy Basic Authentication plugin. 5 Version: 3. 8.05 Version: 3..0 6 6 Author: Matteo Enna 7 7 Author URI: https://matteoenna.it/it/wordpress-work/ -
easy-basic-authentication/trunk/readme.txt
r3353318 r3387750 7 7 Requires PHP: 7.2.5 8 8 Tested up to: 6.8.1 9 Stable tag: 3. 8.09 Stable tag: 3..0 10 10 License: GPLv2 or later 11 11
Note: See TracChangeset
for help on using the changeset viewer.