Changeset 53745
- Timestamp:
- 07/21/2022 09:02:52 AM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/forms.css
r53710 r53745 1131 1131 } 1132 1132 1133 .configuration-rules-label { 1134 font-weight: 600; 1135 margin-bottom: 4px; 1136 } 1137 1133 1138 /*------------------------------------------------------------------------------ 1134 1139 Credentials check dialog for Install and Updates -
trunk/src/wp-admin/includes/network.php
r51979 r53745 471 471 ?> 472 472 <ol> 473 <li><p >473 <li><p id="network-wpconfig-rules-description"> 474 474 <?php 475 475 printf( … … 487 487 ?> 488 488 </p> 489 <textarea class="code" readonly="readonly" cols="100" rows="7"> 489 <p class="configuration-rules-label"><label for="network-wpconfig-rules"> 490 <?php 491 printf( 492 /* translators: %s: File name (wp-config.php, .htaccess or web.config). */ 493 __( 'Network configuration rules for %s' ), 494 '<code>wp-config.php</code>' 495 ); 496 ?> 497 </label></p> 498 <textarea id="network-wpconfig-rules" class="code" readonly="readonly" cols="100" rows="7" aria-describedby="network-wpconfig-rules-description"> 490 499 define( 'MULTISITE', true ); 491 500 define( 'SUBDOMAIN_INSTALL', <?php echo $subdomain_install ? 'true' : 'false'; ?> ); … … 527 536 $num_keys_salts = count( $keys_salts ); 528 537 ?> 529 <p >538 <p id="network-wpconfig-authentication-description"> 530 539 <?php 531 540 if ( 1 === $num_keys_salts ) { … … 545 554 <?php _e( 'To make your installation more secure, you should also add:' ); ?> 546 555 </p> 547 <textarea class="code" readonly="readonly" cols="100" rows="<?php echo $num_keys_salts; ?>"><?php echo esc_textarea( $keys_salts_str ); ?></textarea> 556 <p class="configuration-rules-label"><label for="network-wpconfig-authentication"><?php _e( 'Network configuration authentication keys' ); ?></label></p> 557 <textarea id="network-wpconfig-authentication" class="code" readonly="readonly" cols="100" rows="<?php echo $num_keys_salts; ?>" aria-describedby="network-wpconfig-authentication-description"><?php echo esc_textarea( $keys_salts_str ); ?></textarea> 548 558 <?php 549 559 } … … 604 614 '; 605 615 606 echo '<li><p >';616 echo '<li><p id="network-webconfig-rules-description">'; 607 617 printf( 608 618 /* translators: 1: File name (.htaccess or web.config), 2: File path. */ … … 616 626 } 617 627 ?> 618 <textarea class="code" readonly="readonly" cols="100" rows="20"><?php echo esc_textarea( $web_config_file ); ?></textarea> 628 <p class="configuration-rules-label"><label for="network-webconfig-rules"> 629 <?php 630 printf( 631 /* translators: %s: File name (wp-config.php, .htaccess or web.config). */ 632 __( 'Network configuration rules for %s' ), 633 '<code>web.config</code>' 634 ); 635 ?> 636 </label></p> 637 <textarea id="network-webconfig-rules" class="code" readonly="readonly" cols="100" rows="20" aria-describedby="network-webconfig-rules-description"><?php echo esc_textarea( $web_config_file ); ?></textarea> 619 638 </li> 620 639 </ol> … … 657 676 EOF; 658 677 659 echo '<li><p >';678 echo '<li><p id="network-htaccess-rules-description">'; 660 679 printf( 661 680 /* translators: 1: File name (.htaccess or web.config), 2: File path. */ … … 669 688 } 670 689 ?> 671 <textarea class="code" readonly="readonly" cols="100" rows="<?php echo substr_count( $htaccess_file, "\n" ) + 1; ?>"><?php echo esc_textarea( $htaccess_file ); ?></textarea> 690 <p class="configuration-rules-label"><label for="network-htaccess-rules"> 691 <?php 692 printf( 693 /* translators: %s: File name (wp-config.php, .htaccess or web.config). */ 694 __( 'Network configuration rules for %s' ), 695 '<code>.htaccess</code>' 696 ); 697 ?> 698 </label></p> 699 <textarea id="network-htaccess-rules" class="code" readonly="readonly" cols="100" rows="<?php echo substr_count( $htaccess_file, "\n" ) + 1; ?>" aria-describedby="network-htaccess-rules-description"><?php echo esc_textarea( $htaccess_file ); ?></textarea> 672 700 </li> 673 701 </ol> -
trunk/src/wp-admin/setup-config.php
r53458 r53745 394 394 setup_config_display_header(); 395 395 ?> 396 396 <p> 397 397 <?php 398 398 /* translators: %s: wp-config.php */ … … 400 400 ?> 401 401 </p> 402 <p >402 <p id="wp-config-description"> 403 403 <?php 404 404 /* translators: %s: wp-config.php */ … … 412 412 ?> 413 413 </p> 414 <textarea id="wp-config" cols="98" rows="15" class="code" readonly="readonly"><?php echo $config_text; ?></textarea> 414 <p class="configuration-rules-label"><label for="wp-config"> 415 <?php 416 /* translators: %s: wp-config.php */ 417 printf( __( 'Configuration rules for %s:' ), '<code>wp-config.php</code>' ); 418 ?> 419 </label></p> 420 <textarea id="wp-config" cols="98" rows="15" class="code" readonly="readonly" aria-describedby="wp-config-description"><?php echo $config_text; ?></textarea> 415 421 <p><?php _e( 'After you’ve done that, click “Run the installation”.' ); ?></p> 416 422 <p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the installation' ); ?></a></p> -
trunk/src/wp-includes/admin-bar.php
r53100 r53745 725 725 } 726 726 727 $html = '<input class="shortlink-input" type="text" readonly="readonly" value="' . esc_attr( $short ) . '" />';727 $html = '<input class="shortlink-input" type="text" readonly="readonly" value="' . esc_attr( $short ) . '" aria-label="' . __( 'Shortlink' ) . '" />'; 728 728 729 729 $wp_admin_bar->add_node(
Note: See TracChangeset
for help on using the changeset viewer.