mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Declare $wp_version, $required_php_version, and $required_mysql_version as globals in install and upgrade admin files.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -319,6 +319,8 @@ if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists
|
||||
<th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th>
|
||||
<td><select name="start_of_week" id="start_of_week">
|
||||
<?php
|
||||
global $wp_locale;
|
||||
|
||||
for ($day_index = 0; $day_index <= 6; $day_index++) :
|
||||
$selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : '';
|
||||
echo "\n\t<option value='" . esc_attr($day_index) . "' $selected>" . $wp_locale->get_weekday($day_index) . '</option>';
|
||||
|
||||
Reference in New Issue
Block a user