Make WordPress Core


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

    r30674 r31090  
    595595    if ( false !== $plugin_rel_path ) {
    596596        $path = WP_PLUGIN_DIR . '/' . trim( $plugin_rel_path, '/' );
    597     } else if ( false !== $deprecated ) {
     597    } elseif ( false !== $deprecated ) {
    598598        _deprecated_argument( __FUNCTION__, '2.7' );
    599599        $path = ABSPATH . trim( $deprecated, '/' );
Note: See TracChangeset for help on using the changeset viewer.