[wp-trac] [WordPress Trac] #45197: Introduce `user_can_for_blog()`

WordPress Trac noreply at wordpress.org
Mon Sep 30 11:04:07 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                       |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59123" 59123]:
 {{{
 #!CommitTicketReference repository="" revision="59123"
 Role/Capability: Introduce the `user_can_for_blog()` function.

 This complements the existing user capability checking functions and
 enables checking a capability of any user on any site on a Multisite
 network.

 Props tmanoilov, rajinsharwar, n8finch, johnbillion

 Fixes #45197
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45197#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list