Make WordPress Core


Ignore:
Timestamp:
01/08/2015 07:04:40 AM (12 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-includes/load.php

    r30983 r31090  
    6060                }
    6161                // IIS Isapi_Rewrite
    62                 else if ( isset( $_SERVER['HTTP_X_REWRITE_URL'] ) ) {
     62                elseif ( isset( $_SERVER['HTTP_X_REWRITE_URL'] ) ) {
    6363                        $_SERVER['REQUEST_URI'] = $_SERVER['HTTP_X_REWRITE_URL'];
    6464                } else {
    … …  
    428428
    429429                $first_init = true;
    430         } else if ( ! wp_using_ext_object_cache() && file_exists( WP_CONTENT_DIR . '/object-cache.php' ) ) {
     430        } elseif ( ! wp_using_ext_object_cache() && file_exists( WP_CONTENT_DIR . '/object-cache.php' ) ) {
    431431                /*
    432432                 * Sometimes advanced-cache.php can load object-cache.php before
Note: See TracChangeset for help on using the changeset viewer.