Opened 7 years ago
Closed 7 years ago
#47409 closed enhancement (wontfix)
variable in foreach is used without validation.
| Reported by: | priyankkpatel | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Widgets | Version: | 5.2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | administration |
Description
variable in foreach is used without checking whether it is array and not empty.
Attachments (2)
Change History (3)
#1
@
7 years ago
- Component General → Widgets
- Focuses administration added
- Milestone Awaiting Review
- Resolution → wontfix
- Status new → closed
Thanks for the patch! However, $theme_sidebars is defined as an array a few lines above, so there's no need for additional checks here.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for wp-admin/widgets.php