Plugin Directory

Changeset 2981947


Ignore:
Timestamp:
10/21/2023 08:07:23 AM (2 years ago)
Author:
babatechs
Message:

Fixed a logical issue

Location:
lock-user-account/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lock-user-account/trunk/includes/class-user-meta.php

    r2959610 r2981947  
    7171    public function process_lock_action(){
    7272       
    73         if ( isset( $_GET['_wpnonce'] ) && ! empty( $_GET['_wpnonce'] ) && wp_get_referer() == '/wp-admin/users.php' ){
     73        if ( isset( $_GET['_wpnonce'] ) && ! empty( $_GET['_wpnonce'] ) && strpos( wp_get_referer(), '/wp-admin/users.php' ) === 0 ){
    7474            $action  = filter_input( INPUT_GET, 'action', FILTER_SANITIZE_STRING );
    7575           
  • lock-user-account/trunk/lock-user-account.php

    r2959610 r2981947  
    44 * Plugin URI: http://teknigar.com
    55 * Description: Lock user accounts with custom message
    6  * Version: 1.0.4
     6 * Version: 1.0.5
    77 * Author: teknigar
    88 * Author URI: http://teknigar.com
  • lock-user-account/trunk/readme.txt

    r2962743 r2981947  
    33Tags: lock account, wordpress user accounts, lock user, users, block user, disable user
    44Requires at least: 4.3
    5 Tested up to: 6.3.1
    6 Stable tag: 1.0.4
     5Tested up to: 6.3.2
     6Stable tag: 1.0.5
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6060Added security patch
    6161
     62= 1.0.5 =
     63Fixed a logical issue with Lock/Unlock users
     64
    6265== Upgrade Notice ==
    6366
    64 = 1.0.4 =
    65 Updated version
     67= 1.0.5 =
     68Fixed a logical issue
Note: See TracChangeset for help on using the changeset viewer.