diff --git src/wp-admin/options-general.php src/wp-admin/options-general.php
index cbb7d2f..2c1de17 100644
|
|
|
if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> |
| 167 | 167 | </td> |
| 168 | 168 | </tr> |
| 169 | 169 | <?php } ?> |
| | 170 | </table> |
| | 171 | <h3 class="title"><?php _e( 'Locale' ); ?></h3> |
| | 172 | <table class="form-table"> |
| 170 | 173 | <tr> |
| 171 | 174 | <?php |
| 172 | 175 | $current_offset = get_option('gmt_offset'); |
| … |
… |
if ( empty($tzstring) ) { // Create a UTC+- zone if no timezone string exists |
| 317 | 320 | </fieldset> |
| 318 | 321 | </td> |
| 319 | 322 | </tr> |
| | 323 | <?php |
| | 324 | /** |
| | 325 | * Filter the visibility of the "Week Starts On" setting. |
| | 326 | * |
| | 327 | * @since 4.4.0 |
| | 328 | * |
| | 329 | * @param bool $show_setting Whether the setting should be shown. Defaults to false. |
| | 330 | */ |
| | 331 | $show_start_of_week = apply_filters( 'show_start_of_week_setting', false ); |
| | 332 | if ( $show_start_of_week ) : ?> |
| 320 | 333 | <tr> |
| 321 | 334 | <th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th> |
| 322 | 335 | <td><select name="start_of_week" id="start_of_week"> |
| … |
… |
endfor; |
| 333 | 346 | ?> |
| 334 | 347 | </select></td> |
| 335 | 348 | </tr> |
| | 349 | <?php endif; ?> |
| 336 | 350 | <?php do_settings_fields('general', 'default'); ?> |
| 337 | 351 | |
| 338 | 352 | <?php |