[wp-trac] [WordPress Trac] #28344: Remove "Week Starts On" setting UI
WordPress Trac
noreply at wordpress.org
Wed Sep 2 06:28:52 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: minor | Resolution:
Keywords: has-patch | Focuses: ui, administration
--------------------------------+---------------------------------
Changes (by swissspidy):
* keywords: needs-patch => has-patch
* milestone: Future Release => 4.4
Comment:
[attachment:28344.patch 28344.patch] does the following:
* Add a ''Locale'' header for locale settings
* Hide the ''Week Starts On'' setting if it's equal to the one specified
by the locale (i.e. the default is 1, and ''de_DE'' also uses 1, therefore
it's hidden)
The value of the `start_of_week` option can be easily filtered through the
`pre_option_start_of_week` filter. Nothing new needs to be introduced.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28344#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list