Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/30/2017 03:29:52 AM (8 years ago)
Author:
netweb
Message:

Capabilities: Fix inline docs copy pasta introduced in [5852]

See #2685

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/capabilities.php

    r6056 r6265  
    188188                    $caps[] = 'moderate';
    189189
    190                 // User is author so allow edit if not in admin
     190                // User is author so allow delete if not in admin
    191191                } elseif ( ! is_admin() && ( (int) $user_id === (int) $_post->post_author ) ) {
    192192                    $caps[] = $post_type->cap->delete_posts;
Note: See TracChangeset for help on using the changeset viewer.