Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/08/2015 09:43:47 PM (9 years ago)
Author:
johnjamesjacoby
Message:

s/else if/elseif/

"The keyword elseif should be used instead of else if so that all control keywords look like single words."

Props wonderboymusic, hnla. See #6097.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-classes.php

    r9308 r9315  
    12961296
    12971297                // invite_sent means the user has been invited
    1298                 } else if ( $user_status[ $gid ]->invite_sent ) {
     1298                } elseif ( $user_status[ $gid ]->invite_sent ) {
    12991299                    $is_invited = '1';
    13001300
     
    16121612
    16131613            // The string 'any' matches any non-zero value (inviter_id != 0)
    1614             } else if ( 'any' === $inviter_id ) {
     1614            } elseif ( 'any' === $inviter_id ) {
    16151615                $sql['where'][] = "inviter_id != 0";
    16161616
     
    33703370                $this->params['show_tab'] = 'noone';
    33713371
    3372             } else if ( isset( $this->params_raw['enable_nav_item'] ) || isset( $this->params_raw['visibility'] ) ) {
     3372            } elseif ( isset( $this->params_raw['enable_nav_item'] ) || isset( $this->params_raw['visibility'] ) ) {
    33733373                // If enable_nav_item or visibility is passed,
    33743374                // we assume this  is a legacy extension.
Note: See TracChangeset for help on using the changeset viewer.