[wp-trac] [WordPress Trac] #28344: Remove "Week Starts On" setting UI

WordPress Trac noreply at wordpress.org
Sat Sep 5 10:31:47 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
--------------------------------+---------------------------------

Comment (by swissspidy):

 Replying to [comment:27 SergeyBiryukov]:
 > Before removing the UI, we should probably make the option depend on a
 translatable string, see `wp_trim_words()` for example.

 The default option is set in `populate_options()` in `wp-
 admin/includes/schema.php`:

 {{{
 /* translators: default start of the week. 0 = Sunday, 1 = Monday */
 'start_of_week' => _x( '1', 'start of week' ),
 }}}

 Isn't this fine already or do we need a `pre_option` filter to bypass
 getting the database option?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28344#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list