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/common/widgets.php

    r6038 r6196  
    8383        }
    8484
    85         if ( !is_user_logged_in() ) : ?>
     85        if ( ! is_user_logged_in() ) : ?>
    8686
    8787            <form method="post" action="<?php bbp_wp_login_action( array( 'context' => 'login_post' ) ); ?>" class="bbp-login-form">
     
    615615
    616616        // Force to any
    617         if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
     617        if ( ! empty( $instance['parent_forum'] ) && ! is_numeric( $instance['parent_forum'] ) ) {
    618618            $instance['parent_forum'] = 'any';
    619619        }
     
    860860
    861861        // Force to any
    862         if ( ! empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
     862        if ( ! empty( $instance['parent_forum'] ) && ! is_numeric( $instance['parent_forum'] ) ) {
    863863            $instance['parent_forum'] = 'any';
    864864        }
Note: See TracChangeset for help on using the changeset viewer.