[wp-trac] [WordPress Trac] #26479: unregister_setting not working
WordPress Trac
noreply at wordpress.org
Sun Dec 8 10:43:13 UTC 2013
#26479: unregister_setting not working
--------------------------+-----------------------------
Reporter: cvedovini | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.7.1
Severity: normal | Keywords:
--------------------------+-----------------------------
The unregister_setting function is not working, there's a bug at line 1743
of the plugin.php file:
> $pos = array_search( $option_name, (array) $new_whitelist_options );
should be
> $pos = array_search( $option_name, (array)
$new_whitelist_options[$option_group] );
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26479>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list