Make WordPress Core


Ignore:
Timestamp:
03/26/2014 05:11:47 PM (10 years ago)
Author:
nacin
Message:

Fix LTR field handling:

  • Restore .ltr class lost in the conversion to RTL as a build process.
  • Make email and url inputs always LTR.
  • Set an email field on user-edit to be LTR.

props MikeHansenMe, yoavf for initial patches.
fixes #26824.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r27469 r27743  
    402402<tr>
    403403    <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="text" name="email" id="email" value="<?php echo esc_attr($profileuser->user_email) ?>" class="regular-text ltr" />
    405405    <?php
    406406    $new_email = get_option( $current_user->ID . '_new_email' );
Note: See TracChangeset for help on using the changeset viewer.