WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20824, comment 1


Ignore:
Timestamp:
06/04/12 11:22:02 (23 months ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20824, comment 1

    initial v1  
    1 You should not pass role names to `current_user_can()`, only capabilities. 
     1You should not pass role names to `current_user_can()`; only capabilities. 
    22 
    33Also, the only way to test for super-admins is by using is_super_admin().