Plugin Directory

Changeset 2293876


Ignore:
Timestamp:
04/28/2020 08:13:32 PM (6 years ago)
Author:
shawon786
Message:

Release V- 1.0.3

Location:
wp-user-profile-restriction/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-user-profile-restriction/trunk/README.txt

    r2270123 r2293876  
    33Tags: user profile restriction, disable editing user profile, disable updating my profile, my profile restriction, profile.php restriction, wp user profile
    44Requires at least: 4.0.3
    5 Tested up to: 5.3.2
     5Tested up to: 5.4
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5656
    5757== Changelog ==
     58= 1.0.3 =
     59* Compatiblity Check
     60
    5861= 1.0.2 =
    5962* Compatiblity with 5.3.2
  • wp-user-profile-restriction/trunk/wp-upr.php

    r2270123 r2293876  
    55Description: Disallow users to edit their own profile if he is not an Admin/Editor/Author.
    66Author: Shawon
    7 Version: 1.0.2
     7Version: 1.0.3
    88Author URI: http://shawon.co
    99*/
     
    1313if ( ! defined( 'ABSPATH' ) ) exit;
    1414
    15 
    16 add_action( 'load-profile.php', 'disable_editing_my_profile' );
    1715
    1816function wpupr_disable_editing_my_profile () {
     
    2624   }
    2725}
     26
     27add_action( 'load-profile.php', 'wpupr_disable_editing_my_profile' );
Note: See TracChangeset for help on using the changeset viewer.