[wp-trac] [WordPress Trac] #45197: Introduce `user_can_for_blog()`
WordPress Trac
noreply at wordpress.org
Mon Sep 30 11:24:01 UTC 2024
#45197: Introduce `user_can_for_blog()`
-------------------------------------------------+-------------------------
Reporter: johnbillion | Owner:
| johnbillion
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Role/Capability | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests needs- | Focuses: multisite
testing has-testing-info |
-------------------------------------------------+-------------------------
Comment (by spacedmonkey):
You are correct @swissspidy. This function should be called
`user_can_for_blog` and the parameter should `site_id` and note `blog_id`.
This needs to be changed or reverted before beta. CC @johnbillion
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45197#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list