WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#19277 closed defect (bug) (fixed)

Admin bar items without hrefs should be printed without links

Reported by: koopersmith Owned by: koopersmith
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Toolbar Keywords:
Focuses: Cc:

Description

In some cases, it is desirable to print an admin bar item without a link (instead of overriding the item output entirely).

A couple example use cases:

  1. Empty dropdown headers.
  2. Printing an inline search box (as we do on the front end).

Change History (4)

comment:1 @koopersmith4 years ago

  • Status changed from new to accepted

comment:2 @ocean904 years ago

Duplicate/Related: #15519, #19149 and #19164

comment:3 @koopersmith4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In [19328]:

Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.

comment:11 @koopersmith4 years ago

In [19499]:

Print title attributes for linkless toolbar items. see #19277.

Note: See TracTickets for help on using tickets.