WordPress.org

Make WordPress Core

Ticket #3410: 3410.diff

File 3410.diff, 379 bytes (added by westi, 8 years ago)

wp_die(('Cheatin’ uh?'));

  • wp-admin/users.php

     
    66if ( current_user_can('edit_users') ) 
    77        $parent_file = 'users.php'; 
    88else 
    9         $parent_file = 'profile.php'; 
     9        wp_die(__('Cheatin’ uh?')); 
    1010 
    1111$action = $_REQUEST['action']; 
    1212$update = '';