Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/08/2015 09:44:45 PM (7 years ago)
Author:
johnjamesjacoby
Message:

s/else if/elseif/ for unit tests. See #6097.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/avatars.php

    r9275 r9316  
    2525        if ( 'user' === $type ) {
    2626            $avatar_dir = 'avatars';
    27         } else if ( 'group' === $object ) {
     27        } elseif ( 'group' === $object ) {
    2828            $avatar_dir = 'group-avatars';
    2929        }
     
    160160            if ( empty( $bp->grav_default->{$this->params['object']} ) ) {
    161161                $default_grav = 'wavatar';
    162             } else if ( 'mystery' == $bp->grav_default->{$this->params['object']} ) {
     162            } elseif ( 'mystery' == $bp->grav_default->{$this->params['object']} ) {
    163163                $default_grav = apply_filters( 'bp_core_mysteryman_src', 'mm', $this->params['width'] );
    164164            } else {
Note: See TracChangeset for help on using the changeset viewer.