Changeset 7912
- Timestamp:
- 05/09/2008 12:45:17 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
wp-includes/comment.php (modified) (1 diff)
-
xmlrpc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r7878 r7912 345 345 } 346 346 347 if ( $userdata && ( $user_id == $post_author || $user->has_cap(' level_9') ) ) {347 if ( $userdata && ( $user_id == $post_author || $user->has_cap('moderate_comments') ) ) { 348 348 // The author and the admins get respect. 349 349 $approved = 1; -
trunk/xmlrpc.php
r7901 r7912 789 789 790 790 set_current_user(0, $user_login); 791 $is_admin = current_user_can(' level_8');791 $is_admin = current_user_can('manage_options'); 792 792 793 793 $struct = array(
Note: See TracChangeset
for help on using the changeset viewer.