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

WordPress Trac noreply at wordpress.org
Sun Apr 21 08:24:49 UTC 2019


#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                       |
-------------------------------------------------+-------------------------
Changes (by santilinwp):

 * keywords:  needs-unit-tests needs-patch good-first-bug => needs-unit-
     tests good-first-bug has-patch needs-dev-note


Comment:

 I understand that the way to go is duplicate most of the functions to make
 multisite and not multisite versions, like in the attached example.

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


More information about the wp-trac mailing list