Plugin Directory

Changeset 1133791


Ignore:
Timestamp:
04/13/2015 03:30:19 PM (11 years ago)
Author:
rigorousrich
Message:

Reintroduced code to stop non-admin accessing the dashboard

Location:
dovetail/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dovetail/trunk/FP-members.php

    r1113798 r1133791  
    8787                include_once( plugin_dir_path( __FILE__ ) . 'classes/class.role-editor.php');
    8888
    89                 /*
    9089                // Ban non-admins from viewing the admin area
    9190                if ( ( !current_user_can( 'administrator' ) ) && ( defined( 'DOING_AJAX' ) == false ) ) {
     
    9392                    exit;
    9493                }
    95                 */
    9694            }
    9795
  • dovetail/trunk/readme.txt

    r1130992 r1133791  
    5252== Changelog ==
    5353
     54= 1.2.8 =
     55
     56* Reintroduced code to stop non-admins from being able to access the dashboard
     57
    5458= 1.2.7 =
    5559
Note: See TracChangeset for help on using the changeset viewer.