Changeset 13706
- Timestamp:
- 03/15/2010 05:32:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-permalink.php
r13440 r13706 132 132 133 133 $wp_rewrite->flush_rules(); 134 ?> 135 136 <?phpif (isset($_POST['submit'])) : ?>134 135 136 if (isset($_POST['submit'])) : ?> 137 137 <div id="message" class="updated"><p><?php 138 if ( $iis7_permalinks ) { 139 if ( $permalink_structure && ! $usingpi && ! $writable ) 140 _e('You should update your web.config now'); 141 else if ( $permalink_structure && ! $usingpi && $writable) 142 _e('Permalink structure updated. Remove write access on web.config file now!'); 143 else 144 _e('Permalink structure updated'); 138 if ( ! is_multisite() ) { 139 if ( $iis7_permalinks ) { 140 if ( $permalink_structure && ! $usingpi && ! $writable ) 141 _e('You should update your web.config now'); 142 else if ( $permalink_structure && ! $usingpi && $writable ) 143 _e('Permalink structure updated. Remove write access on web.config file now!'); 144 else 145 _e('Permalink structure updated'); 146 } else { 147 if ( $permalink_structure && ! $usingpi && ! $writable ) 148 _e('You should update your .htaccess now.'); 149 else 150 _e('Permalink structure updated.'); 151 } 145 152 } else { 146 if ( $permalink_structure && ! $usingpi && ! $writable ) 147 _e('You should update your .htaccess now.'); 148 else 149 _e('Permalink structure updated.'); 153 _e('Permalink structure updated.'); 150 154 } 151 155 ?>
Note: See TracChangeset
for help on using the changeset viewer.