[wp-trac] [WordPress Trac] #45990: Bug in function current_user_can prevents admin to access to Dashboard
WordPress Trac
noreply at wordpress.org
Wed Jan 16 22:24:14 UTC 2019
#45990: Bug in function current_user_can prevents admin to access to Dashboard
------------------------------------+------------------------------
Reporter: DotMG | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version:
Severity: major | Resolution:
Keywords: reporter-feedback | Focuses:
------------------------------------+------------------------------
Changes (by pento):
* keywords: => reporter-feedback
* version: trunk =>
Comment:
Thank you for the bug report, @DotMG!
Are you able to reproduce this issue with no plugins activated? The
`$current_user` global is only set in a few places in Core, and they
should all be ensuring that it's a proper `WP_User` object.
Detailed steps to reproduce this bug would also be very helpful for
getting it fixed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45990#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list