Changeset 6265 for trunk/src/includes/topics/capabilities.php
- Timestamp:
- 01/30/2017 03:29:52 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/capabilities.php
r6056 r6265 188 188 $caps[] = 'moderate'; 189 189 190 // User is author so allow editif not in admin190 // User is author so allow delete if not in admin 191 191 } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) { 192 192 $caps[] = $post_type->cap->delete_posts;
Note: See TracChangeset
for help on using the changeset viewer.