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-actions.php

    r9308 r9315  
    3535
    3636        // User doesn't have access, so set up redirect args
    37         } else if ( is_user_logged_in() ) {
     37        } elseif ( is_user_logged_in() ) {
    3838            $no_access_args = array(
    3939                'message'  => __( 'You do not have access to this group.', 'buddypress' ),
     
    184184            if ( 'private' == $_POST['group-status'] )
    185185                $group_status = 'private';
    186             else if ( 'hidden' == $_POST['group-status'] )
     186            elseif ( 'hidden' == $_POST['group-status'] )
    187187                $group_status = 'hidden';
    188188
Note: See TracChangeset for help on using the changeset viewer.