Use CSS instead of nbsp, props demetris, fixes #10206 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
64067f4612
commit
ec0eadf2c4
|
@ -437,6 +437,10 @@ a.button-secondary {
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#timezone_string option {
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.approve {
|
.approve {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3300,9 +3300,9 @@ function wp_timezone_choice( $selected_zone ) {
|
||||||
$display = str_replace( 'GMT', '', $zone['city'] );
|
$display = str_replace( 'GMT', '', $zone['city'] );
|
||||||
$display = strtr( $display, '+-', '-+' ) . ':00';
|
$display = strtr( $display, '+-', '-+' ) . ':00';
|
||||||
}
|
}
|
||||||
$display = ' ' . sprintf( __( 'UTC %s' ), $display );
|
$display = sprintf( __( 'UTC %s' ), $display );
|
||||||
} else {
|
} else {
|
||||||
$display = ' ' . $zone['t_city'];
|
$display = $zone['t_city'];
|
||||||
if ( !empty( $zone['subcity'] ) ) {
|
if ( !empty( $zone['subcity'] ) ) {
|
||||||
// Add the subcity to the value
|
// Add the subcity to the value
|
||||||
$value[] = $zone['subcity'];
|
$value[] = $zone['subcity'];
|
||||||
|
|
Loading…
Reference in New Issue