Make WordPress Core


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

    r31034 r31090  
    152152if ( ! is_multisite() ) {
    153153    if ( $iis7_permalinks ) {
    154         if ( $permalink_structure && ! $usingpi && ! $writable )
     154        if ( $permalink_structure && ! $usingpi && ! $writable ) {
    155155            _e('You should update your web.config now.');
    156         else if ( $permalink_structure && ! $usingpi && $writable )
     156        } elseif ( $permalink_structure && ! $usingpi && $writable ) {
    157157            _e('Permalink structure updated. Remove write access on web.config file now!');
    158         else
     158        } else {
    159159            _e('Permalink structure updated.');
     160        }
    160161    } elseif ( $is_nginx ) {
    161162        _e('Permalink structure updated.');
Note: See TracChangeset for help on using the changeset viewer.