mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 13:37:51 +01:00
Settings: Widen time/day input fields on General Settings page, and move the preview onto the next line.
Props desrosj, afercia. Fixes #41603. Built from https://develop.svn.wordpress.org/trunk@41857 git-svn-id: http://core.svn.wordpress.org/trunk@41691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
59c3c7ae14
commit
e5db49d607
@ -1340,7 +1340,7 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.options-general-php input[type="text"].small-text {
|
||||
max-width: 60px;
|
||||
max-width: 6.25em;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
2
wp-admin/css/forms-rtl.min.css
vendored
2
wp-admin/css/forms-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1340,7 +1340,7 @@ table.form-table td .updated p {
|
||||
}
|
||||
|
||||
.options-general-php input[type="text"].small-text {
|
||||
max-width: 60px;
|
||||
max-width: 6.25em;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
2
wp-admin/css/forms.min.css
vendored
2
wp-admin/css/forms.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/login-rtl.min.css
vendored
2
wp-admin/css/login-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/login.min.css
vendored
2
wp-admin/css/login.min.css
vendored
File diff suppressed because one or more lines are too long
@ -307,8 +307,9 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
|
||||
echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom date format in the following field' ) . '</span></span></label>' .
|
||||
'<label for="date_format_custom" class="screen-reader-text">' . __( 'Custom date format:' ) . '</label>' .
|
||||
'<input type="text" name="date_format_custom" id="date_format_custom" value="' . esc_attr( get_option( 'date_format' ) ) . '" class="small-text" />' .
|
||||
'<span class="screen-reader-text">' . __( 'example:' ) . ' </span> <span class="example">' . date_i18n( get_option( 'date_format' ) ) . '</span>' .
|
||||
"<span class='spinner'></span>\n";
|
||||
'<br />' .
|
||||
'<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'date_format' ) ) . '</span>' .
|
||||
"<span class='spinner'></span>\n" . '</p>';
|
||||
?>
|
||||
</fieldset>
|
||||
</td>
|
||||
@ -343,8 +344,9 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
|
||||
echo '/> <span class="date-time-text date-time-custom-text">' . __( 'Custom:' ) . '<span class="screen-reader-text"> ' . __( 'enter a custom time format in the following field' ) . '</span></span></label>' .
|
||||
'<label for="time_format_custom" class="screen-reader-text">' . __( 'Custom time format:' ) . '</label>' .
|
||||
'<input type="text" name="time_format_custom" id="time_format_custom" value="' . esc_attr( get_option( 'time_format' ) ) . '" class="small-text" />' .
|
||||
'<span class="screen-reader-text">' . __( 'example:' ) . ' </span> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' .
|
||||
"<span class='spinner'></span>\n";
|
||||
'<br />' .
|
||||
'<p><strong>' . __( 'Preview:' ) . '</strong> <span class="example">' . date_i18n( get_option( 'time_format' ) ) . '</span>' .
|
||||
"<span class='spinner'></span>\n" . '</p>';
|
||||
|
||||
echo "\t<p class='date-time-doc'>" . __('<a href="https://codex.wordpress.org/Formatting_Date_and_Time">Documentation on date and time formatting</a>.') . "</p>\n";
|
||||
?>
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-beta2-41856';
|
||||
$wp_version = '4.9-beta2-41857';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user