Changeset 44574 for trunk/src/wp-admin/options-permalink.php
- Timestamp:
- 01/12/2019 06:40:16 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/options-permalink.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-permalink.php
r43571 r44574 350 350 <?php else : ?> 351 351 <p> 352 <?php353 printf(354 /* translators: 1: Codex URL, 2: web.config, 3: CTRL + a */355 __( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your %2$s file. Create a new file, called %2$s in the root directory of your site. Click in the field and press %3$s to select all. Then insert this code into the %2$s file.' ),356 __( 'https://codex.wordpress.org/Changing_File_Permissions' ),357 '<code>web.config</code>',358 '<kbd>CTRL + a</kbd>'359 );360 ?>352 <?php 353 printf( 354 /* translators: 1: Codex URL, 2: web.config, 3: CTRL + a */ 355 __( 'If the root directory of your site was <a href="%1$s">writable</a>, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your %2$s file. Create a new file, called %2$s in the root directory of your site. Click in the field and press %3$s to select all. Then insert this code into the %2$s file.' ), 356 __( 'https://codex.wordpress.org/Changing_File_Permissions' ), 357 '<code>web.config</code>', 358 '<kbd>CTRL + a</kbd>' 359 ); 360 ?> 361 361 </p> 362 362 <form action="options-permalink.php" method="post"> 363 <?php wp_nonce_field( 'update-permalink' ); ?>363 <?php wp_nonce_field( 'update-permalink' ); ?> 364 364 <p><textarea rows="18" class="large-text readonly" name="rules" id="rules" readonly="readonly"><?php echo esc_textarea( $wp_rewrite->iis7_url_rewrite_rules( true ) ); ?></textarea></p> 365 365 </form> 366 366 <p> 367 <?php368 printf(369 /* translators: %s: web.config */370 __( 'If you temporarily make your site’s root directory writable for us to generate the %s file automatically, do not forget to revert the permissions after the file has been created.' ),371 '<code>web.config</code>'372 );373 ?>367 <?php 368 printf( 369 /* translators: %s: web.config */ 370 __( 'If you temporarily make your site’s root directory writable for us to generate the %s file automatically, do not forget to revert the permissions after the file has been created.' ), 371 '<code>web.config</code>' 372 ); 373 ?> 374 374 </p> 375 375 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.