Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/08/2015 09:43:47 PM (7 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-loader.php

    r9131 r9315  
    649649                $bp->bp_options_title = _x( 'Memberships', 'My Groups page <title>', 'buddypress' );
    650650
    651             } else if ( !bp_is_my_profile() && !bp_is_single_item() ) {
     651            } elseif ( !bp_is_my_profile() && !bp_is_single_item() ) {
    652652                $bp->bp_options_avatar = bp_core_fetch_avatar( array(
    653653                    'item_id' => bp_displayed_user_id(),
     
    659659            // We are viewing a single group, so set up the
    660660            // group navigation menu using the $this->current_group global.
    661             } else if ( bp_is_single_item() ) {
     661            } elseif ( bp_is_single_item() ) {
    662662                $bp->bp_options_title  = $this->current_group->name;
    663663                $bp->bp_options_avatar = bp_core_fetch_avatar( array(
Note: See TracChangeset for help on using the changeset viewer.