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

WordPress Trac noreply at wordpress.org
Mon Sep 7 13:10:44 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 stephenharris):

 Wouldn't using `default_option_` be more suitable than `pre_option_`? If I
 have an existing install then this patch will forcibly over-ride my chosen
 option.

 Using `default_option_` means existing users' choices are respected, and
 has an added benefit for developers in that they do not need to remove the
 callback should they wish to re-instate the setting.

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


More information about the wp-trac mailing list