Changeset 6196 for trunk/src/includes/forums/capabilities.php
- Timestamp:
- 12/28/2016 06:16:53 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/forums/capabilities.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/forums/capabilities.php
r6087 r6196 138 138 139 139 // User is author so allow edit if not in admin 140 } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {140 } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) { 141 141 $caps[] = $post_type->cap->edit_posts; 142 142
Note: See TracChangeset
for help on using the changeset viewer.