Make WordPress Core


Ignore:
Timestamp:
11/18/2015 08:29:44 PM (9 years ago)
Author:
ocean90
Message:

Revert [35336] and [35337].

See #28344.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/options.php

    r35337 r35685  
    140140    echo '<p class="description">' . __( 'The <a href="https://codex.wordpress.org/Glossary#Character_set">character encoding</a> of your site (UTF-8 is recommended)' ) . '</p>';
    141141}
    142 
    143 /**
    144  * Render the week starts on setting.
    145  *
    146  * @global WP_Locale $wp_locale
    147  *
    148  * @since 4.4.0
    149  */
    150 function options_general_start_of_week() {
    151     global $wp_locale;
    152     ?>
    153     <select name="start_of_week" id="start_of_week">
    154         <?php
    155         $start_of_week = get_option( 'start_of_week' );
    156         for ( $day_index = 0; $day_index <= 6; $day_index++ ) {
    157             echo "\n\t<option value='" . esc_attr( $day_index ) . "'" . selected( $start_of_week, $day_index, false ) . ">" . $wp_locale->get_weekday( $day_index ) . '</option>';
    158         }
    159         ?>
    160     </select>
    161     <?php
    162 }
Note: See TracChangeset for help on using the changeset viewer.