New .ltr class for forcing elements to be LTR when using an RTL language. see #19598.
git-svn-id: https://develop.svn.wordpress.org/trunk@19817 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4134cbb0c
commit
6e9c274c00
@ -2409,3 +2409,8 @@ div.sidebar-name h3 {
|
||||
.press-this #wphead h1 {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* RTL */
|
||||
.ltr {
|
||||
direction: ltr;
|
||||
}
|
@ -113,7 +113,7 @@ include('./admin-header.php');
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="admin_email"><?php _e('E-mail Address') ?> </label></th>
|
||||
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text" />
|
||||
<td><input name="admin_email" type="text" id="admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||
<span class="description"><?php _e('This address is used for admin purposes, like new user notification.') ?></span></td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
@ -132,7 +132,7 @@ include('./admin-header.php');
|
||||
<?php } else { ?>
|
||||
<tr valign="top">
|
||||
<th scope="row"><label for="new_admin_email"><?php _e('E-mail Address') ?> </label></th>
|
||||
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text code" />
|
||||
<td><input name="new_admin_email" type="text" id="new_admin_email" value="<?php form_option('admin_email'); ?>" class="regular-text ltr" />
|
||||
<span class="description"><?php _e('This address is used for admin purposes. If you change this we will send you an e-mail at your new address to confirm it. <strong>The new address will not become active until confirmed.</strong>') ?></span>
|
||||
<?php
|
||||
$new_admin_email = get_option( 'new_admin_email' );
|
||||
|
Loading…
Reference in New Issue
Block a user