mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
hackificator complains if you call include 'file.php' without the parens, needs to be include( 'file.php' )
See #27881. git-svn-id: https://develop.svn.wordpress.org/trunk@28479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -187,7 +187,7 @@ $profileuser = get_user_to_edit($user_id);
|
||||
if ( !current_user_can('edit_user', $user_id) )
|
||||
wp_die(__('You do not have permission to edit this user.'));
|
||||
|
||||
include (ABSPATH . 'wp-admin/admin-header.php');
|
||||
include(ABSPATH . 'wp-admin/admin-header.php');
|
||||
?>
|
||||
|
||||
<?php if ( !IS_PROFILE_PAGE && is_super_admin( $profileuser->ID ) && current_user_can( 'manage_network_options' ) ) { ?>
|
||||
|
||||
Reference in New Issue
Block a user