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

    r9301 r9315  
    475475        if ( $type == 'unread' )
    476476            $type_sql = " AND unread_count != 0 ";
    477         else if ( $type == 'read' )
     477        elseif ( $type == 'read' )
    478478            $type_sql = " AND unread_count = 0 ";
    479479
Note: See TracChangeset for help on using the changeset viewer.