Changeset 28780 for trunk/src/wp-admin/install.php
- Timestamp:
- 06/19/2014 04:46:40 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/install.php
r28779 r28780 71 71 * @since 2.5.0 72 72 */ 73 function display_header( ) {73 function display_header( $body_classes = '' ) { 74 74 header( 'Content-Type: text/html; charset=utf-8' ); 75 if ( is_rtl() ) { 76 $body_classes .= 'rtl'; 77 } 78 if ( $body_classes ) { 79 $body_classes = ' ' . $body_classes; 80 } 75 81 ?> 76 82 <!DOCTYPE html> … … 84 90 ?> 85 91 </head> 86 <body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl';?>">92 <body class="wp-core-ui<?php echo $body_classes ?>"> 87 93 <h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 88 94 … … 196 202 case 0: // Step 0 197 203 if ( $body = wp_get_available_translations() ) { 198 display_header( );204 display_header( 'language-chooser' ); 199 205 200 206 echo '<form id="setup" method="post" action="install.php?step=1">'; 201 echo '<div class="language-chooser">';202 207 echo '<select name="language" id="language-chooser" size="15">'; 203 208 echo '<option selected="selected" value="">English (United States)</option>'; … … 207 212 echo "</select>\n"; 208 213 echo '<p class="step"><input type="submit" class="button button-primary button-hero" value="»" /></p>'; 209 echo '</div>';210 214 echo '</form>'; 211 215 break;
Note: See TracChangeset
for help on using the changeset viewer.