Make WordPress Core

Opened 13 years ago

Closed 12 years ago

Last modified 12 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 13 years ago.
admin_bar_inner_hooks.diff (750 bytes) - added by neoxx 13 years ago.
no_link_possible.3.diff (955 bytes) - added by neoxx 13 years ago.

Download all attachments as: .zip

Change History (18)

#2 @neoxx
13 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
13 years ago

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

#4 @neoxx
13 years ago

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

#5 in reply to: ↑ 3 @caesarsgrunt
13 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
13 years ago

  • Cc WordPress@… added

#7 @ocean90
13 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
12 years ago

  • Component changed from Administration to Admin Bar

#10 @koopersmith
12 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
12 years ago

  • Milestone changed from Future Release to 3.3

#12 @trepmal
12 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
12 years ago

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

#15 in reply to: ↑ 14 @koopersmith
12 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.