The problem is the way block_edit is calling theme_links. From the documentation: $links A keyed array of links to be themed. However in block_edit_preprocess_block() and block_edit_preprocess_node() a non keyed array is being passed to theme_links.

I've attached a patch that adds a generic incrementing class to each item in the link array that is passed to theme_links

CommentFileSizeAuthor
keyed_array_for_theme_links.patch5.77 KBpifantastic

Comments

joelstein’s picture

Good idea, however, I think using keys relevant to the task contained in the link is more intuitive, and is easier to target if, say, you want to hide the "view" link.

Committed 6.x-1.x:
http://drupal.org/commitlog/commit/7690/ae726f9b17441d428a02f396eb34ecb1...

A new release will be available shortly.

joelstein’s picture

Version: 6.x-1.10 » 6.x-1.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -CSS, -theme

Automatically closed -- issue fixed for 2 weeks with no activity.