Opened 5 years ago
Closed 4 years ago
#8035 closed enhancement (fixed)
Hide widget count when no sidebars defined
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Administration | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | scribu |
Description
In the Right Now section of the Dashboard, the "using x widgets" should be hidden when there are no sidebars defined for the current theme.
Attachments (1)
Change History (12)
- Milestone changed from 2.7 to 2.8
There are some other areas that need to be cleaned up too. We can live with "0 widgets" for now and fix this completely in 2.8.
- Owner changed from anonymous to westi
- Status changed from new to assigned
see also: #9511
- Milestone 2.8 deleted
- Resolution set to invalid
- Status changed from assigned to closed
This text doesn't exist any more.
- Resolution invalid deleted
- Status changed from closed to reopened
Yes it does. In WP 2.8 bleeding, in the "Right Now" box: Theme WordPress Default with 0 Widgets.
...and the same text is visible, even if I comment out the register_sidebar code from functions.php
comment:10
azaozz — 4 years ago
Right, my mistake. Don't know why I thought it was on the widgets page.
comment:11
azaozz — 4 years ago
- Milestone changed from 2.9 to 2.8
- Resolution set to fixed
- Status changed from reopened to closed
Changed the patch a bit, the widgets count wasn't right either, fixed in [11131]

If there are no sidebars defined, writes "whitout widgets"