There are some problems with menu items using title arguments.

This code is from Commerce:

<?php 
    $items['admin/commerce/products/add/' . strtr($type, array('_' => '-'))] = array(
      'title' => 'Create !name',
      'title arguments' => array('!name' => $product_type['name']),
      'description' => $product_type['description'],
      'page callback' => 'commerce_product_ui_product_form_wrapper',
      'page arguments' => array(commerce_product_new($type)),
      'access callback' => 'commerce_product_access',
      'access arguments' => array('create', commerce_product_new($type)),
      'file' => 'includes/commerce_product_ui.products.inc',
    );
?>

This results in a situation the attached image describes well.

CommentFileSizeAuthor
coffee-err.png23.9 KBfarald

Comments

michaelmol’s picture

Version: 7.x-1.0 » 7.x-2.x-dev
Assigned: Unassigned » michaelmol
michaelmol’s picture

Assigned: michaelmol » heylookalive
michaelmol’s picture

Status: Active » Fixed

This is resolved in Coffee 7.x-2.x

Status: Fixed » Closed (fixed)

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