mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@31090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -151,12 +151,13 @@ if ( ! empty( $_GET['settings-updated'] ) ) : ?>
|
||||
<div id="message" class="updated"><p><?php
|
||||
if ( ! is_multisite() ) {
|
||||
if ( $iis7_permalinks ) {
|
||||
if ( $permalink_structure && ! $usingpi && ! $writable )
|
||||
if ( $permalink_structure && ! $usingpi && ! $writable ) {
|
||||
_e('You should update your web.config now.');
|
||||
else if ( $permalink_structure && ! $usingpi && $writable )
|
||||
} elseif ( $permalink_structure && ! $usingpi && $writable ) {
|
||||
_e('Permalink structure updated. Remove write access on web.config file now!');
|
||||
else
|
||||
} else {
|
||||
_e('Permalink structure updated.');
|
||||
}
|
||||
} elseif ( $is_nginx ) {
|
||||
_e('Permalink structure updated.');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user