[wp-trac] [WordPress Trac] #28344: Remove "Week Starts On" setting UI
WordPress Trac
noreply at wordpress.org
Sun Sep 6 23:06:20 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 dd32):
> The default option is set in populate_options() in wp-
admin/includes/schema.php:
> Isn't this fine already or do we need a pre_option filter to bypass
getting the database option?
The problem is when the language is changed, or translation is fixed after
the site is created.
We can probably just deprecate the function entirely, replace any uses of
it with `_x( '1', 'start of week' )` and add a `pre_option` filter to
return the translated version for compat with plugins/themes which use the
function directly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28344#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list