-
-if ( ! empty( $_GET['settings-updated'] ) ) : ?>
-<div id="message" class="updated notice is-dismissible"><p><?php
-if ( ! is_multisite() ) {
- if ( $iis7_permalinks ) {
- if ( $permalink_structure && ! $usingpi && ! $writable ) {
- _e('You should update your web.config now.');
- } elseif ( $permalink_structure && ! $usingpi && $writable ) {
- _e('Permalink structure updated. Remove write access on web.config file now!');
- } else {
- _e('Permalink structure updated.');
- }
- } elseif ( $is_nginx ) {
- _e('Permalink structure updated.');
- } else {
- if ( $permalink_structure && ! $usingpi && ! $writable && $update_required ) {
- _e('You should update your .htaccess now.');
- } else {
- _e('Permalink structure updated.');
- }
- }
-} else {
- _e('Permalink structure updated.');
-}