Opened 3 years ago

Closed 18 months ago

Last modified 18 months ago

#15519 closed enhancement (fixed)

Allow pure information and not only links in Administration Bar

Reported by: neoxx Owned by: koopersmith
Priority: normal Milestone: 3.3
Component: Toolbar Version: 3.1
Severity: normal Keywords:
Cc: elfin, caesarsgrunt, WordPress@…, luke.gedeon@…

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

Download all attachments as: .zip

Change History (18)

neoxx3 years ago

neoxx3 years ago

neoxx3 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

comment:3 follow-up: ↓ 5   westi3 years ago

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

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

comment:5 in reply to: ↑ 3   caesarsgrunt3 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. :-)

  • Cc WordPress@… added
  • Keywords admin-bar removed
  • Milestone changed from Awaiting Review to Future Release
  • Type changed from defect (bug) to enhancement
  • Cc luke.gedeon@… added
  • Component changed from Administration to Admin Bar
  • 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.

  • Milestone changed from Future Release to 3.3

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

related #19289

comment:14 follow-up: ↓ 15   trepmal18 months ago

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

comment:15 in reply to: ↑ 14   koopersmith18 months 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.