Changeset 46957 for trunk/src/wp-admin/options-permalink.php
- Timestamp:
- 12/13/2019 09:25:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-permalink.php
r45932 r46957 152 152 if ( $iis7_permalinks ) { 153 153 if ( $permalink_structure && ! $using_index_permalinks && ! $writable ) { 154 $message = __( 'You should update your web.config now.' ); 154 $message = sprintf( 155 /* translators: %s: web.config */ 156 __( 'You should update your %s file now.' ), 157 '<code>web.config</code>' 158 ); 155 159 } elseif ( $permalink_structure && ! $using_index_permalinks && $writable ) { 156 $message = __( 'Permalink structure updated. Remove write access on web.config file now!' ); 160 $message = sprintf( 161 /* translators: %s: web.config */ 162 __( 'Permalink structure updated. Remove write access on %s file now!' ), 163 '<code>web.config</code>' 164 ); 157 165 } 158 166 } elseif ( ! $is_nginx && $permalink_structure && ! $using_index_permalinks && ! $writable && $update_required ) { 159 $message = __( 'You should update your .htaccess now.' ); 167 $message = sprintf( 168 /* translators: %s: .htaccess */ 169 __( 'You should update your %s file now.' ), 170 '<code>.htaccess</code>' 171 ); 160 172 } 161 173
Note: See TracChangeset
for help on using the changeset viewer.