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-template.php

    r9301 r9315  
    11541154             */
    11551155            return apply_filters( 'bp_get_messages_username_value', $_COOKIE['bp_messages_send_to'] );
    1156         } else if ( isset( $_GET['r'] ) && !isset( $_COOKIE['bp_messages_send_to'] ) ) {
     1156        } elseif ( isset( $_GET['r'] ) && !isset( $_COOKIE['bp_messages_send_to'] ) ) {
    11571157            /** This filter is documented in bp-messages-template.php */
    11581158            return apply_filters( 'bp_get_messages_username_value', $_GET['r'] );
Note: See TracChangeset for help on using the changeset viewer.