Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/28/2016 06:16:53 PM (9 years ago)
Author:
johnjamesjacoby
Message:

Breathing room for all !is_ usages.

File:
1 edited

Legend:

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

    r6087 r6196  
    138138
    139139                // 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 ) ) {
    141141                    $caps[] = $post_type->cap->edit_posts;
    142142
Note: See TracChangeset for help on using the changeset viewer.