Opened 15 years ago
Closed 13 years ago
#17884 closed enhancement (fixed)
Remove redundant checks in settings API functions
| Reported by: | scribu | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | has-patch settings-api 3.6-early |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@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?