Ticket #26824: 26824.3.diff
File 26824.3.diff, 3.6 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/forms.css
12 12 box-sizing: border-box; 13 13 } 14 14 15 /* @noflip */ 16 input[type="email"], input[type="url"]{ 17 direction: ltr; 18 } 19 15 20 input[type="checkbox"], 16 21 input[type="radio"] { 17 22 border: 1px solid #bbb; -
src/wp-admin/options-general.php
102 102 <?php if ( !is_multisite() ) { ?> 103 103 <tr> 104 104 <th scope="row"><label for="siteurl"><?php _e('WordPress Address (URL)') ?></label></th> 105 <td><input name="siteurl" type=" text" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text code<?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td>105 <td><input name="siteurl" type="url" id="siteurl" value="<?php form_option('siteurl'); ?>"<?php disabled( defined( 'WP_SITEURL' ) ); ?> class="regular-text <?php if ( defined( 'WP_SITEURL' ) ) echo ' disabled' ?>" /></td> 106 106 </tr> 107 107 <tr> 108 108 <th scope="row"><label for="home"><?php _e('Site Address (URL)') ?></label></th> 109 <td><input name="home" type=" text" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text code<?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" />109 <td><input name="home" type="url" id="home" value="<?php form_option('home'); ?>"<?php disabled( defined( 'WP_HOME' ) ); ?> class="regular-text <?php if ( defined( 'WP_HOME' ) ) echo ' disabled' ?>" /> 110 110 <p class="description"><?php _e('Enter the address here if you want your site homepage <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">to be different from the directory</a> you installed WordPress.'); ?></p></td> 111 111 </tr> 112 112 <tr> 113 113 <th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th> 114 <td><input name="admin_email" type=" text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />114 <td><input name="admin_email" type="email" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" /> 115 115 <p class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></p></td> 116 116 </tr> 117 117 <tr> -
src/wp-admin/user-edit.php
401 401 <table class="form-table"> 402 402 <tr> 403 403 <th><label for="email"><?php _e('E-mail'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th> 404 <td><input type=" text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" />404 <td><input type="email" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text" /> 405 405 <?php 406 406 $new_email = get_option( $current_user->ID . '_new_email' ); 407 407 if ( $new_email && $new_email['newemail'] != $current_user->user_email && $profileuser->ID == $current_user->ID ) : ?> … … 414 414 415 415 <tr> 416 416 <th><label for="url"><?php _e('Website') ?></label></th> 417 <td><input type=" text" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text code" /></td>417 <td><input type="url" name="url" id="url" value="<?php echo esc_attr($profileuser->user_url) ?>" class="regular-text" /></td> 418 418 </tr> 419 419 420 420 <?php