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-members/bp-members-template.php

    r9308 r9315  
    607607        if ( 'active' == $members_template->type )
    608608            $pag = sprintf( _n( 'Viewing 1 active member', 'Viewing %1$s - %2$s of %3$s active members', $members_template->total_member_count, 'buddypress' ), $from_num, $to_num, $total );
    609         else if ( 'popular' == $members_template->type )
     609        elseif ( 'popular' == $members_template->type )
    610610            $pag = sprintf( _n( 'Viewing 1 member with friends', 'Viewing %1$s - %2$s of %3$s members with friends', $members_template->total_member_count, 'buddypress' ), $from_num, $to_num, $total );
    611         else if ( 'online' == $members_template->type )
     611        elseif ( 'online' == $members_template->type )
    612612            $pag = sprintf( _n( 'Viewing 1 online member', 'Viewing %1$s - %2$s of %3$s online members', $members_template->total_member_count, 'buddypress' ), $from_num, $to_num, $total );
    613613        else
     
    21832183            if ( empty( $bp->grav_default->user ) )
    21842184                $default_grav = 'wavatar';
    2185             else if ( 'mystery' == $bp->grav_default->user )
     2185            elseif ( 'mystery' == $bp->grav_default->user )
    21862186                $default_grav = $bp->plugin_url . 'bp-core/images/mystery-man.jpg';
    21872187            else
Note: See TracChangeset for help on using the changeset viewer.