Ticket #16705: 16705-edit_comment_3.3.patch
File 16705-edit_comment_3.3.patch, 543 bytes (added by , 13 years ago) |
---|
-
capabilities.php
1092 1092 $post_type_object = get_post_type_object( $post->post_type ); 1093 1093 1094 1094 $caps = map_meta_cap( $post_type_object->cap->edit_post, $user_id, $post->ID ); 1095 $caps []= 'moderate_comments'; 1095 1096 break; 1096 1097 case 'unfiltered_upload': 1097 1098 if ( defined('ALLOW_UNFILTERED_UPLOADS') && ALLOW_UNFILTERED_UPLOADS && ( !is_multisite() || is_super_admin( $user_id ) ) )