Opened 11 years ago
Closed 11 years ago
#28810 closed defect (bug) (fixed)
is_active_widget() should skip orphaned widgets
Reported by: | Ninos Ego | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 2.8 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
Description
The function is_active_widget()
should also skip orphaned widgets. Orphaned widgets are also inactive widgets.
Attachments (2)
Change History (8)
Note: See
TracTickets for help on using
tickets.
Yeah, this makes sense. Minor points: we should use triple-equals, and
substr
as used elsewhere to check fororphaned_widgets
:Why was the severity changed to major?