Make WordPress Core

Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#15519 closed enhancement (fixed)

Allow pure information and not only links in Administration Bar

Reported by: neoxx's profile neoxx Owned by: koopersmith's profile koopersmith
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.1
Component: Toolbar Keywords:
Focuses: Cc:

Description

Derived from ticket #14772

Purpose:

Extend the Admin Bar API in a way to allow pure information (arbitrary HTML) which is not wrapped in links.

Reasons:

  • Integrate plain texts in the Admin Bar by plugins
  • Create valid XHTML with all HTML-elements (e.g. 'bigger' components like the search bar in a <div>) which fit inside of a <li>

Two possibilites:

  • empty href => no_link_possible.diff
  • hooks in quicklinks-list and/or between links-list and search-bar ?> admin_bar_inner_hooks.diff

Attachments (3)

no_link_possible.2.diff (12.6 KB) - added by neoxx 14 years ago.
admin_bar_inner_hooks.diff (750 bytes) - added by neoxx 14 years ago.
no_link_possible.3.diff (955 bytes) - added by neoxx 14 years ago.

Download all attachments as: .zip

Change History (18)

#2 @neoxx
14 years ago

  • Summary changed from Allow pure information and not only links in Admininstration Bar to Allow pure information and not only links in Administration Bar

#3 follow-up: @westi
14 years ago

I'm not a big fan of either of these patches.

#4 @neoxx
14 years ago

I know. ;) But have for example a look on 'Add new' which currently points to nowhere...

#5 in reply to: ↑ 3 @caesarsgrunt
14 years ago

Replying to westi:

I'm not a big fan of either of these patches.

Why not? More extensibility is always going to be better than less, right? And this has no negative effect whatsoever, only positive.

I prefer the first patch, but either would do. Or both, since they serve slightly different purposes really. :-)

#6 @voyagerfan5761
14 years ago

  • Cc WordPress@… added

#7 @ocean90
14 years ago

  • Keywords admin-bar removed
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement

#8 @lgedeon
13 years ago

  • Cc luke.gedeon@… added

#9 @ocean90
13 years ago

  • Component changed from Administration to Admin Bar

#10 @koopersmith
13 years ago

  • Owner set to koopersmith
  • Resolution set to fixed
  • Status changed from new 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.

#11 @dd32
13 years ago

  • Milestone changed from Future Release to 3.3

#12 @trepmal
13 years ago

I can create a new ticket if need be, but it looks like [19328] (not 100% sure) has caused some funkiness with the dropdown arrows

http://cl.ly/BuXj/wp-3.3-dropdowns.png

#14 follow-up: @trepmal
13 years ago

Just an update, ticket:15519#comment:12 appears to be fixed

#15 in reply to: ↑ 14 @koopersmith
13 years ago

  • Keywords has-patch removed

Replying to trepmal:

Just an update, ticket:15519#comment:12 appears to be fixed

Thanks for the update. Fixed in [19354].

Note: See TracTickets for help on using tickets.