[wp-trac] [WordPress Trac] #38433: Complete test coverage for current_user_can_for_blog()

WordPress Trac noreply at wordpress.org
Tue Aug 12 07:10:56 UTC 2025


#38433: Complete test coverage for current_user_can_for_blog()
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Role/Capability                      |     Version:  4.3
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests good-first-bug      |     Focuses:
  has-patch needs-dev-note                       |
-------------------------------------------------+-------------------------

Comment (by sachinrajcp123):

 Added `current_user_can_for_blog()` assertions to
 `Tests_User_Capabilities` for full coverage.

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


More information about the wp-trac mailing list