Make WordPress Core

Ticket #28344: 28344.2.patch

File 28344.2.patch, 936 bytes (added by swissspidy, 9 years ago)
  • src/wp-admin/options-general.php

    diff --git src/wp-admin/options-general.php src/wp-admin/options-general.php
    index cbb7d2f..3dbfe7f 100644
    if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> 
    167167</td>
    168168</tr>
    169169<?php } ?>
     170</table>
     171<h3 class="title"><?php _e( 'Locale' ); ?></h3>
     172<table class="form-table">
    170173<tr>
    171174<?php
    172175$current_offset = get_option('gmt_offset');
    if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists 
    317320        </fieldset>
    318321</td>
    319322</tr>
     323<?php if ( get_option( 'start_of_week' ) !== _x( '1', 'start of week' ) ) : ?>
    320324<tr>
    321325<th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th>
    322326<td><select name="start_of_week" id="start_of_week">
    endfor; 
    333337?>
    334338</select></td>
    335339</tr>
     340<?php endif; ?>
    336341<?php do_settings_fields('general', 'default'); ?>
    337342
    338343<?php