mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Admin functions cleanup, and change how we do titles and parents in the backend
git-svn-id: https://develop.svn.wordpress.org/trunk@4478 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
<?php
|
||||
require_once('admin.php');
|
||||
|
||||
$title = __('Edit User');
|
||||
if ( current_user_can('edit_users') )
|
||||
$parent_file = 'users.php';
|
||||
else
|
||||
$parent_file = 'profile.php';
|
||||
$submenu_file = 'users.php';
|
||||
|
||||
wp_reset_vars(array('action', 'redirect', 'profile', 'user_id', 'wp_http_referer'));
|
||||
|
||||
Reference in New Issue
Block a user