[wp-trac] [WordPress Trac] #28344: Remove "Week Starts On" setting UI
WordPress Trac
noreply at wordpress.org
Thu Sep 24 21:22:58 UTC 2015
#28344: Remove "Week Starts On" setting UI
--------------------------------+---------------------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 4.4
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, administration
--------------------------------+---------------------------------
Comment (by ocean90):
Replying to [comment:37 slackbot]:
> ''This ticket was mentioned in [https://make.wordpress.org/chat/ Slack]
in #core by ocean90.
[https://wordpress.slack.com/archives/core/p1443043928003746 View the
logs].''
To answer the question "Where does the setting get used?":
`start_of_week` is currently used in `get_weekstartend()` which is only
used by `wp_get_archives()`. `wp_get_archives()` passes the value of
`start_of_week` to `get_weekstartend()`.
The value is also used in `_wp_mysql_week()` for
`WP_Date_Query::get_sql_for_clause()` and again in `wp_get_archives()`.
And finally in `get_calendar()` which is used by `WP_Widget_Calendar`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28344#comment:38>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list