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-friends/bp-friends-actions.php

    r7556 r9315  
    4141        }
    4242
    43     } else if ( 'is_friend' == $friendship_status ) {
     43    } elseif ( 'is_friend' == $friendship_status ) {
    4444        bp_core_add_message( __( 'You are already friends with this user', 'buddypress' ), 'error' );
    4545    } else {
     
    7979        }
    8080
    81     } else if ( 'is_friends' == $friendship_status ) {
     81    } elseif ( 'is_friends' == $friendship_status ) {
    8282        bp_core_add_message( __( 'You are not yet friends with this user', 'buddypress' ), 'error' );
    8383    } else {
Note: See TracChangeset for help on using the changeset viewer.