id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 45990 Bug in function current_user_can prevents admin to access to Dashboard DotMG "File : {{{wp-includes/capabilities.php}}} method {{{has_cap}}} is not always defined for the Object {{{$current_user}}}, and when this occurs, site Administrator cannot access to Dashboard, because the function {{{current_user_can}}} returns false. The real bug is what caused the method has_cap to be absent for the object {{{$current_user}}}, after a successful login. But this patch simply avoid the calling of {{{has_cap}}} when it is not available." defect (bug) closed normal Login and Registration major invalid