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-activity/bp-activity-classes.php

    r9308 r9315  
    170170        // If no callback is available, use the literal string from
    171171        // the database row
    172         } else if ( ! empty( $row->action ) ) {
     172        } elseif ( ! empty( $row->action ) ) {
    173173            $this->action = $row->action;
    174174
     
    12781278
    12791279        // A true cache miss
    1280         } else if ( empty( $comments ) ) {
     1280        } elseif ( empty( $comments ) ) {
    12811281
    12821282            // Select the user's fullname with the query
Note: See TracChangeset for help on using the changeset viewer.