Make WordPress Core


Ignore:
Timestamp:
01/08/2015 07:04:40 AM (11 years ago)
Author:
wonderboymusic
Message:

The keyword elseif should be used instead of else if so that all control keywords look like single words.

This was a mess, is now standardized across the codebase, except for a few 3rd-party libs.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/install.php

    r30855 r31090  
    255255            display_setup_form( __( 'Your passwords do not match. Please try again.' ) );
    256256            $error = true;
    257         } else if ( empty( $admin_email ) ) {
     257        } elseif ( empty( $admin_email ) ) {
    258258            // TODO: poka-yoke
    259259            display_setup_form( __( 'You must provide an email address.' ) );
Note: See TracChangeset for help on using the changeset viewer.