Changeset 11110 for trunk/wp-admin/options-general.php
- Timestamp:
- 04/28/2009 06:37:51 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/options-general.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/options-general.php
r11109 r11110 121 121 $current_offset_name = $offset_name; 122 122 } 123 echo "<option value=\" $offset\"$selected>" . sprintf(__('UTC %s'), $offset_name) . '</option>';123 echo "<option value=\"" . attr($offset) . "\"$selected>" . sprintf(__('UTC %s'), $offset_name) . '</option>'; 124 124 } 125 125 ?> … … 264 264 for ($day_index = 0; $day_index <= 6; $day_index++) : 265 265 $selected = (get_option('start_of_week') == $day_index) ? 'selected="selected"' : ''; 266 echo "\n\t<option value=' $day_index' $selected>" . $wp_locale->get_weekday($day_index) . '</option>';266 echo "\n\t<option value='" . attr($day_index) . "' $selected>" . $wp_locale->get_weekday($day_index) . '</option>'; 267 267 endfor; 268 268 ?> … … 275 275 276 276 <p class="submit"> 277 <input type="submit" name="Submit" class="button-primary" value="<?php _e ('Save Changes') ?>" />277 <input type="submit" name="Submit" class="button-primary" value="<?php _ea('Save Changes') ?>" /> 278 278 </p> 279 279 </form>
Note: See TracChangeset
for help on using the changeset viewer.