Changeset 2457478
- Timestamp:
- 01/16/2021 11:11:40 AM (5 years ago)
- Location:
- secure-file-manager/trunk
- Files:
-
- 4 edited
-
includes/assets.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
secure-file-manager.php (modified) (3 diffs)
-
vendor/elfinder/php/connector.minimal.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
secure-file-manager/trunk/includes/assets.php
r2454695 r2457478 18 18 } 19 19 20 $sfmp_nonce_key = wp_create_nonce( 'secure-file-manager-pro' ); 20 $currentUserRoles = wp_get_current_user()->roles; 21 22 if ( in_array( get_current_user_id(), get_option( 'sfm_auth_user' ) ) || !empty( array_intersect( $currentUserRoles, get_option( 'sfm_auth_roles' ) ) ) ) { 23 $sfmp_nonce_key = wp_create_nonce( 'secure-file-manager-pro' ); 24 } 21 25 22 26 wp_enqueue_style( 'sfm-admin-normalize', plugin_dir_url( dirname( __FILE__ ) ) . 'assets/admin/css/normalize.css' ); -
secure-file-manager/trunk/readme.txt
r2456064 r2457478 6 6 Tested up to: 5.6 7 7 Requires PHP: 7.1 8 Stable tag: 2.8. 18 Stable tag: 2.8.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 155 155 * Latest Stable Bootstrap Used 156 156 157 = 2.8.2 = 158 * Authenticated RCE Vulnerability Fixed 159 157 160 == Upgrade Notice == 158 161 = 1.0 = -
secure-file-manager/trunk/secure-file-manager.php
r2455255 r2457478 3 3 /** 4 4 * @package Secure File Manager 5 * @version 2.8. 15 * @version 2.8.2 6 6 */ 7 7 … … 11 11 Description: Most Beautiful and Secure WordPress File Manager 12 12 Author: Themexa 13 Version: 2.8. 113 Version: 2.8.2 14 14 Author URI: https://www.themexa.com 15 15 License: GPL2 … … 25 25 * Current plugin version. 26 26 */ 27 define( 'secure-file-manager', '2.8. 1' );27 define( 'secure-file-manager', '2.8.2' ); 28 28 29 29 /** -
secure-file-manager/trunk/vendor/elfinder/php/connector.minimal.php
r2452008 r2457478 260 260 261 261 $nonce = $_REQUEST['_wpnonce']; 262 263 if ( wp_verify_nonce( $nonce, 'secure-file-manager-pro' ) ){ 262 $currentUserRoles = wp_get_current_user()->roles; 263 264 if ( wp_verify_nonce( $nonce, 'secure-file-manager-pro' ) && ( in_array( get_current_user_id(), get_option( 'sfm_auth_user' ) ) || !empty( array_intersect( $currentUserRoles, get_option( 'sfm_auth_roles' ) ) ) ) ) { 264 265 $connectorOptions = array( 265 266 'driver' => 'LocalFileSystem',
Note: See TracChangeset
for help on using the changeset viewer.