Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#26637 closed defect (bug) (invalid)

css #wpadminbar typo

Reported by: mathiasdb Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8
Component: Template Keywords:
Focuses: Cc:



I just downloaded the latest version of Wordpress (v3.8) and I started restyling the admin menu whilst I discovered a typo in the new code.

#wpadminbar .ab-top-menu>li>.ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu>li>.ab-item:focus, #wpadminbar .ab-top-menu>li:hover>.ab-item, #wpadminbar .ab-top-menu>li.hover>.ab-item {
background: #333;
color: #2ea2cc;

Check out the second query in the CSS, shouldn't it be #wpadminbar.nojs instead of #wpadminbar.nojq?

Attachments (1)

css-typo.png (136.9 KB) - added by mathiasdb 8 years ago.
css #wpadminbar typo

Download all attachments as: .zip

Change History (2)

8 years ago

css #wpadminbar typo

#1 @nacin
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi mathiasdb, thanks for the report!

In this case, .nojq stands for 'no jQuery'. We don't want to actually load jQuery ourselves as it is pretty heavy here. But when jQuery is present (due to the theme or another plugin), we use HoverIntent to determine the user's intent when navigating menus and submenus in the toolbar.


Note: See TracTickets for help on using tickets.