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-members/bp-members-admin.php

    r9308 r9315  
    14711471
    14721472            // Handle activated accounts
    1473             } else if ( 'do_activate' == $doaction ) {
     1473            } elseif ( 'do_activate' == $doaction ) {
    14741474
    14751475                // nonce check
     
    14981498
    14991499            // Handle sign-ups delete
    1500             } else if ( 'do_delete' == $doaction ) {
     1500            } elseif ( 'do_delete' == $doaction ) {
    15011501
    15021502                // nonce check
     
    18761876        if ( ! empty( $_POST['allsignups'] ) ) {
    18771877            $ids = wp_parse_id_list( $_POST['allsignups'] );
    1878         } else if ( ! empty( $_GET['signup_id'] ) ) {
     1878        } elseif ( ! empty( $_GET['signup_id'] ) ) {
    18791879            $ids = absint( $_GET['signup_id'] );
    18801880        }
Note: See TracChangeset for help on using the changeset viewer.