Opened 18 months ago
Closed 16 months ago
#19377 closed defect (bug) (fixed)
Notice: Undefined index: settings-updated in wp-admin/includes/template.php on line 1322
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.4 |
| Component: | Warnings/Notices | Version: | 3.2.1 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: |
Description
When I use settings_errors() with the third argument set to true, I get the following PHP notice:
Notice: Undefined index: settings-updated in wp-admin/includes/template.php on line 1322
Attached a patch. The fix is straight-forward and harmless enough.
Attachments (4)
Change History (8)
comment:1
SergeyBiryukov — 18 months ago
The condition seems reversed. Shouldn't it be !empty()?
comment:2
SergeyBiryukov — 18 months ago
Didn't see settings-errors.3.diff before commenting :)
comment:3
SergeyBiryukov — 17 months ago
- Keywords commit added
- Milestone changed from Awaiting Review to 3.4
Note: See
TracTickets for help on using
tickets.

Previous patch was a bad one.