Opened 13 years ago
Closed 11 years ago
#17884 closed enhancement (fixed)
Remove redundant checks in settings API functions
Reported by: | scribu | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | minor | Version: | |
Component: | Administration | Keywords: | has-patch settings-api 3.6-early |
Focuses: | Cc: |
Description
There are several isset() checks in some settings fields functions that are meant to prevent notices, but they're simply unnecessary.
PHP doesn't emit notices in those cases.
Attachments (4)
Change History (14)
Note: See
TracTickets for help on using
tickets.
@scribu Would you be interested in refreshing this code once 3.5.1 is out in the next couple of weeks to get this into 3.6?