See: https://www.drupal.org/node/2308913

Accoring to the hook_menu documentation:
"load arguments": An array of arguments to be passed to each of the wildcard object loaders in the path, after the path argument itself.

Now feature_load function receives 3 arguments instead 2: 'feature_name', 'feature_name', TRUE; It does not affect any major functionality or performance, because second argument is always non-empty string and converts to the boolean TRUE, but I think that should be fixed anyway.

Here is the patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

artem_sylchuk’s picture

Title: load arguments" in the hook_menu_alter » Incorrect load arguments" in the hook_menu_alter
mpotter’s picture

Status: Needs review » Fixed

Sorry I took so long to see this. It's really a no-brainer. Also interesting that Features has the same issue! Will fix it over there also. Thanks!

Status: Fixed » Closed (fixed)

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

Chris Matthews’s picture

This patch has not been committed to 7.x-2.x-dev, but I cannot reopen as I am not a maintainer. See the commit log.