[wp-trac] [WordPress Trac] #59000: Add a check for wp_get_current_user to current_user_can
WordPress Trac
noreply at wordpress.org
Tue Sep 5 19:15:42 UTC 2023
#59000: Add a check for wp_get_current_user to current_user_can
----------------------------------------------------+---------------------
Reporter: scruffian | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3.2
Component: Users | Version: 6.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs-testing | Focuses:
----------------------------------------------------+---------------------
Changes (by azaozz):
* keywords: 2nd-opinion has-patch => has-patch has-unit-tests needs-
testing
* version: => 6.3
* milestone: Awaiting Review => 6.3.2
Comment:
Sure, the existing patch/PR seems to fix the regression. However I'd like
to really "get to the bottom of it" and try to remedy the underlying
problem if at all possible. Alternatively can add some more docs to try to
prevent similar usage in the future.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59000#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list