Changes between Initial Version and Version 1 of Ticket #20824, comment 1
- Timestamp:
- 06/04/2012 11:22:02 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20824, comment 1
initial v1 1 You should not pass role names to `current_user_can()` ,only capabilities.1 You should not pass role names to `current_user_can()`; only capabilities. 2 2 3 3 Also, the only way to test for super-admins is by using is_super_admin().