[wp-trac] [WordPress Trac] #45197: Introduce `user_can_for_blog()`
WordPress Trac
noreply at wordpress.org
Mon Sep 30 18:08:28 UTC 2024
#45197: Introduce `user_can_for_blog()`
-----------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.7
Component: Role/Capability | Version:
Severity: normal | Resolution:
Keywords: | Focuses: multisite
-----------------------------+--------------------------
Comment (by johnjamesjacoby):
I can clearly Imagine future versions of ourselves wanting to deprecate
`current_user_can_for_blog()` in favor of `_site()`, and wondering why we
didn’t just do that back then (which is now).
I’m +1 to renaming to today’s pattern now because it prevents an extra
deprecation later.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45197#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list