diff --git a/src/wp-includes/locale.php b/src/wp-includes/locale.php index 9ff1159103..64435f7127 100644 --- a/src/wp-includes/locale.php +++ b/src/wp-includes/locale.php @@ -41,6 +41,14 @@ class WP_Locale { */ public $weekday_abbrev; + /** + * Stores the default start of the week. + * + * @since 4.4.0 + * @var string + */ + public $start_of_week; + /** * Stores the translated strings for the full month names. * @@ -118,6 +126,9 @@ class WP_Locale { $this->weekday_initial[ __( 'Friday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'F', 'Friday initial' ); $this->weekday_initial[ __( 'Saturday' ) ] = /* translators: one-letter abbreviation of the weekday */ _x( 'S', 'Saturday initial' ); + // Start of the week. + $this->start_of_week = /* translators: default start of the week. 0 = Sunday, 1 = Monday */ _x( '1', 'start of week' ); + // Abbreviations for each day. $this->weekday_abbrev[__('Sunday')] = /* translators: three-letter abbreviation of the weekday */ __('Sun'); $this->weekday_abbrev[__('Monday')] = /* translators: three-letter abbreviation of the weekday */ __('Mon');