This line in hook_menu:
if (is_numeric($share_id = arg(3))) {

loads a bunch of menu items in a lot of cases (if the site happens to have views set up with a numeric argument, etc etc).

Be more selective, like this in taxonomy.module:
if (arg(0) == 'admin' && arg(1) == 'content' && arg(2) == 'taxonomy' && is_numeric(arg(3))) {

Comments

greenskin’s picture

Version: 5.x-2.0-alpha9 » 5.x-2.x-dev
Status: Active » Fixed

The If statement in question has been moved up inside of similar statement that is more selective. Not sure how this slipped by me and got outside of the statement.

Status: Fixed » Closed (fixed)

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