[wp-trac] [WordPress Trac] #15865: Make it easy to disable options / user settings

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 26 02:23:14 UTC 2011


#15865: Make it easy to disable options / user settings
-------------------------------------------------+-------------------------
 Reporter:  westi                                |       Owner:  westi
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Administration                       |  Release
 Severity:  normal                               |     Version:
 Keywords:  westi-likes has-patch needs-testing  |  Resolution:
-------------------------------------------------+-------------------------
Changes (by ctsttom):

 * keywords:  westi-likes => westi-likes has-patch needs-testing


Comment:

 Okay so here is my first attempt to add the two functions I suggested, I
 didn't add remove_settings_error() because I don't really know why you'd
 want that / I don't under stand that part yet...

 I also wrote a dummy plugin to test the code out with (there is a function
 within it called test_removal() which you can uncomment to test, and
 var_dump the globals $wp_settings_sections and $wp_settings_fields from
 /wp-admin/includes/template.php

 Files attached...

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


More information about the wp-trac mailing list