Opened 10 years ago
Closed 10 years ago
#29421 closed defect (bug) (fixed)
Misleading number bubble on the Add Themes network admin screen
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Themes | Keywords: | good-first-bug has-patch |
Focuses: | administration, multisite | Cc: |
Description
When browsing for new themes on the Network Admin -> Themes -> Add New screen, the bubble in the left hand menu which indicates the number of theme updates gets updated along with the number of results in your current search. This is confusing. In the screenshot below, it looks like I have 100 theme updates available.
Attachments (2)
Change History (8)
#3
@
10 years ago
- Keywords has-patch added; needs-patch removed
What do you think of the following selector: '#wpbody-content .theme-count'
? We're still targeting the main content container(in case more counters are added in the future), but we're avoiding the sidebar with the admin navigation.
The patch above uses that selector and works for me with 4.0.
Note: See
TracTickets for help on using
tickets.
The issue is the
$( '.theme-count' )
selector inwp-admin/js/theme.js
. It should be more specific.