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-core/bp-core-functions.php

    r9308 r9315  
    113113            if ( isset( $index->' . $key . ' ) ) {
    114114                $values[ $indexi ] = $index->' . $key . ';
    115             } else if ( isset( $index["' . $key . '"] ) ) {
     115            } elseif ( isset( $index["' . $key . '"] ) ) {
    116116                $values[ $indexi ] = $index["' . $key . '"];
    117117            }
     
    127127            if ( 0 > $cmp ) {
    128128                $retval = -1;
    129             } else if ( 0 < $cmp ) {
     129            } elseif ( 0 < $cmp ) {
    130130                $retval = 1;
    131131            } else {
Note: See TracChangeset for help on using the changeset viewer.