[wp-trac] [WordPress Trac] #59000: Add a check for wp_get_current_user to current_user_can
WordPress Trac
noreply at wordpress.org
Fri Sep 29 15:54:00 UTC 2023
#59000: Add a check for wp_get_current_user to current_user_can
-------------------------------------------------+-------------------------
Reporter: scruffian | Owner: azaozz
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.3.2
Component: Users | Version: 6.3
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests needs- | Focuses:
testing fixed-major |
-------------------------------------------------+-------------------------
Comment (by danielbachhuber):
@okat @azaozz It looks like `initialize_theme_preview_hooks` could benefit
from a prefix -> `wp_initialize_theme_preview_hooks`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59000#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list