wp/wp-admin/install.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
   237 	/* translators: %s: WordPress version. */
   237 	/* translators: %s: WordPress version. */
   238 	esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
   238 	esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
   239 	sanitize_title( $wp_version )
   239 	sanitize_title( $wp_version )
   240 );
   240 );
   241 
   241 
   242 /* translators: %s: URL to Update PHP page. */
       
   243 $php_update_message = '</p><p>' . sprintf(
   242 $php_update_message = '</p><p>' . sprintf(
       
   243 	/* translators: %s: URL to Update PHP page. */
   244 	__( '<a href="%s">Learn more about updating PHP</a>.' ),
   244 	__( '<a href="%s">Learn more about updating PHP</a>.' ),
   245 	esc_url( wp_get_update_php_url() )
   245 	esc_url( wp_get_update_php_url() )
   246 );
   246 );
   247 
   247 
   248 $annotation = wp_get_update_php_annotation();
   248 $annotation = wp_get_update_php_annotation();
   424 		<td><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></td>
   424 		<td><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></td>
   425 	</tr>
   425 	</tr>
   426 	<tr>
   426 	<tr>
   427 		<th><?php _e( 'Password' ); ?></th>
   427 		<th><?php _e( 'Password' ); ?></th>
   428 		<td>
   428 		<td>
   429 			<?php
   429 			<?php if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) : ?>
   430 			if ( ! empty( $result['password'] ) && empty( $admin_password_check ) ) :
   430 				<code><?php echo esc_html( $result['password'] ); ?></code><br />
   431 				?>
   431 			<?php endif; ?>
   432 			<code><?php echo esc_html( $result['password'] ); ?></code><br />
       
   433 		<?php endif ?>
       
   434 			<p><?php echo $result['password_message']; ?></p>
   432 			<p><?php echo $result['password_message']; ?></p>
   435 		</td>
   433 		</td>
   436 	</tr>
   434 	</tr>
   437 </table>
   435 </table>
   438 
   436