Changeset 3249
- Timestamp:
- 11/30/05 20:04:04 (3 years ago)
- Files:
-
- trunk/wp-includes/capabilities.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/capabilities.php
r3242 r3249 281 281 } 282 282 283 // Convenience wrapper around $wp_roles.283 // Convenience wrappers around $wp_roles. 284 284 function get_role($role) { 285 285 global $wp_roles; 286 286 287 287 return $wp_roles->get_role($role); 288 } 289 290 function add_role($role, $display_name, $capabilities = '') { 291 global $wp_roles; 292 293 return $wp_roles->add_role($role, $display_name, $capabilities = ''); 294 } 295 296 function remove_role($role) { 297 global $wp_roles; 298 299 return $wp_roles->remove_role($role); 288 300 } 289 301
