Changeset 50830
- Timestamp:
- 05/07/2021 11:49:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/options-permalink.php
r48713 r50830 358 358 if ( file_exists( $home_path . 'web.config' ) ) : 359 359 ?> 360 <p >360 <p id="iis-description-a"> 361 361 <?php 362 362 printf( … … 372 372 <form action="options-permalink.php" method="post"> 373 373 <?php wp_nonce_field( 'update-permalink' ); ?> 374 <p>< textarea rows="9" class="large-text readonly" name="rules" id="rules" readonly="readonly"><?php echo esc_textarea( $wp_rewrite->iis7_url_rewrite_rules() ); ?></textarea></p>374 <p><label for="rules"><?php _e( 'Rewrite rules:' ); ?></label><br /><textarea rows="9" class="large-text readonly" name="rules" id="rules" readonly="readonly" aria-describedby="iis-description-a"><?php echo esc_textarea( $wp_rewrite->iis7_url_rewrite_rules() ); ?></textarea></p> 375 375 </form> 376 376 <p> … … 384 384 </p> 385 385 <?php else : ?> 386 <p >386 <p id="iis-description-b"> 387 387 <?php 388 388 printf( … … 397 397 <form action="options-permalink.php" method="post"> 398 398 <?php wp_nonce_field( 'update-permalink' ); ?> 399 <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>399 <p><label for="rules"><?php _e( 'Rewrite rules:' ); ?></label><br /><textarea rows="18" class="large-text readonly" name="rules" id="rules" readonly="readonly" aria-describedby="iis-description-b"><?php echo esc_textarea( $wp_rewrite->iis7_url_rewrite_rules( true ) ); ?></textarea></p> 400 400 </form> 401 401 <p> … … 416 416 if ( $permalink_structure && ! $using_index_permalinks && ! $writable && $htaccess_update_required ) : 417 417 ?> 418 <p >418 <p id="htaccess-description"> 419 419 <?php 420 420 printf( … … 429 429 <form action="options-permalink.php" method="post"> 430 430 <?php wp_nonce_field( 'update-permalink' ); ?> 431 <p>< textarea rows="6" class="large-text readonly" name="rules" id="rules" readonly="readonly"><?php echo esc_textarea( $wp_rewrite->mod_rewrite_rules() ); ?></textarea></p>431 <p><label for="rules"><?php _e( 'Rewrite rules:' ); ?></label><br /><textarea rows="8" class="large-text readonly" name="rules" id="rules" readonly="readonly" aria-describedby="htaccess-description"><?php echo esc_textarea( $wp_rewrite->mod_rewrite_rules() ); ?></textarea></p> 432 432 </form> 433 433 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.