Changeset 5575 for trunk/wp-includes/capabilities.php
- Timestamp:
- 05/28/2007 06:34:06 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r4825 r5575 446 446 $current_user = wp_get_current_user(); 447 447 448 if ( empty($current_user) ) 449 return false; 450 448 451 $args = array_slice(func_get_args(), 1); 449 452 $args = array_merge(array($capability), $args); 450 451 if ( empty($current_user) )452 return false;453 453 454 454 return call_user_func_array(array(&$current_user, 'has_cap'), $args);
Note: See TracChangeset
for help on using the changeset viewer.