mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
WP_Locale. Props Sewar. fixes #2568
git-svn-id: https://develop.svn.wordpress.org/trunk@3676 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -94,9 +94,8 @@ foreach($wp_roles->role_names as $role => $name) {
|
||||
<td><select name="start_of_week" id="start_of_week">
|
||||
<?php
|
||||
for ($day_index = 0; $day_index <= 6; $day_index++) :
|
||||
if ($day_index == get_settings('start_of_week')) $selected = " selected='selected'";
|
||||
else $selected = '';
|
||||
echo "\n\t<option value='$day_index' $selected>$weekday[$day_index]</option>";
|
||||
$selected = (get_settings('start_of_week') == $day_index) ? 'selected="selected"' : '';
|
||||
echo "\n\t<option value='$day_index' $selected>" . $wp_locale->get_weekday($day_index) . '</option>';
|
||||
endfor;
|
||||
?>
|
||||
</select></td>
|
||||
|
||||
Reference in New Issue
Block a user