Hold off on menu cleanup until next release. There be dragons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<?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