[wp-trac] [WordPress Trac] #18082: Reset screen options button

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 17 02:52:40 UTC 2011


#18082: Reset screen options button
-----------------------------------------------+---------------------------
 Reporter:  danielbachhuber                    |       Owner:
     Type:  enhancement                        |  danielbachhuber
 Priority:  normal                             |      Status:  accepted
Component:  Administration                     |   Milestone:  Awaiting
 Severity:  minor                              |  Review
 Keywords:  ux-feedback has-patch 2nd-opinion  |     Version:
                                               |  Resolution:
-----------------------------------------------+---------------------------
Changes (by danielbachhuber):

 * keywords:  ux-feedback => ux-feedback has-patch 2nd-opinion


Comment:

 resetscreen.18082.1.patch adds a "Reset to defaults" button for all screen
 options. When the user clicks on the reset button, all of their personal
 screen options for the current screen are reset to factory defaults.

 The patch works fine, I think the code is satisfactory, but I'd love
 feedback on the approach. Ideally, we'd just write an actual class and API
 for manipulating screen options. This could work fine in the interim
 though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18082#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list