Networks and Sites: Display the Site Address field on Add Site screen in left-to-right text direction.
Props ramiy. Fixes #49949. git-svn-id: https://develop.svn.wordpress.org/trunk@47606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
60b23a5cd0
commit
5763451b44
@ -231,12 +231,12 @@ printf(
|
|||||||
<th scope="row"><label for="site-address"><?php _e( 'Site Address (URL)' ); ?> <span class="required">*</span></label></th>
|
<th scope="row"><label for="site-address"><?php _e( 'Site Address (URL)' ); ?> <span class="required">*</span></label></th>
|
||||||
<td>
|
<td>
|
||||||
<?php if ( is_subdomain_install() ) { ?>
|
<?php if ( is_subdomain_install() ) { ?>
|
||||||
<input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', get_network()->domain ); ?></span>
|
<input name="blog[domain]" type="text" class="regular-text ltr" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required /><span class="no-break">.<?php echo preg_replace( '|^www\.|', '', get_network()->domain ); ?></span>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
echo get_network()->domain . get_network()->path
|
echo get_network()->domain . get_network()->path
|
||||||
?>
|
?>
|
||||||
<input name="blog[domain]" type="text" class="regular-text" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required />
|
<input name="blog[domain]" type="text" class="regular-text ltr" id="site-address" aria-describedby="site-address-desc" autocapitalize="none" autocorrect="off" required />
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
echo '<p class="description" id="site-address-desc">' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '</p>';
|
echo '<p class="description" id="site-address-desc">' . __( 'Only lowercase letters (a-z), numbers, and hyphens are allowed.' ) . '</p>';
|
||||||
|
Loading…
Reference in New Issue
Block a user