[wp-trac] [WordPress Trac] #37405: Capability tests for non-logged-in users

WordPress Trac noreply at wordpress.org
Mon Jul 18 22:36:39 UTC 2016


#37405: Capability tests for non-logged-in users
-----------------------------+-----------------
 Reporter:  johnbillion      |      Owner:
     Type:  task (blessed)   |     Status:  new
 Priority:  low              |  Milestone:  4.6
Component:  Role/Capability  |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------
 In `Tests_User_Capabilities` we have comprehensive tests for all user
 roles, but none for non-logged-in users.

 While it might seem obvious that a non-logged-in user cannot have any
 capabilities, having tests to ensure this will help protect us with regard
 to any future refactoring of authentication code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37405>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list