Opened 2 years ago
Last modified 5 months ago
#17884 new enhancement
Remove redundant checks in settings API functions
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | has-patch settings-api 3.6-early |
| Cc: | me@…, pippin@… |
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 (2)
Change History (10)
comment:2
unknowndomain — 5 months ago
- Keywords settings-3.6 added
comment:3
unknowndomain — 5 months ago
- Cc me@… added
comment:8
SergeyBiryukov — 5 months ago
- Keywords settings-api added; settings-3.6 removed
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?