[wp-trac] [WordPress Trac] #17884: Remove redundant checks in settings API functions

WordPress Trac noreply at wordpress.org
Wed Sep 4 19:06:14 UTC 2013

#17884: Remove redundant checks in settings API functions
 Reporter:  scribu                            |       Owner:
     Type:  enhancement                       |  wonderboymusic
 Priority:  normal                            |      Status:  closed
Component:  Administration                    |   Milestone:  3.7
 Severity:  minor                             |     Version:
 Keywords:  has-patch settings-api 3.6-early  |  Resolution:  fixed
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"25240"]:
 #!CommitTicketReference repository="" revision="25240"
 Remove unnecessary checks before setting `$wp_settings_*` arrays. Adds
 unit test for setting a nonexistent variable to a multi-dimensional

 Props scribu.
 Fixes #17884.

Ticket URL: <http://core.trac.wordpress.org/ticket/17884#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list