[wp-trac] [WordPress Trac] #45990: Bug in function current_user_can prevents admin to access to Dashboard
WordPress Trac
noreply at wordpress.org
Tue Jan 15 09:11:05 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: trunk
Severity: major | Resolution:
Keywords: | Focuses:
------------------------------------+------------------------------
Changes (by DotMG):
* Attachment "capabilities.patch" added.
Tests if has_cap is callable before actually calling it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45990>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list