Hello,
Inside the admin form definition, an item_list() is called with a class attribute passed as a string instead of an array:
theme('item_list', array(
'items' => array(
t('Add <em>[node:title]</em> to your favorites'),
t('Add this [node:type] to your favorites'),
t('Vote for this proposal ([node:flag-vote-count] people have already done so)'),
),
'attributes' => array('class' => 'token-examples'),
)) .
The 'class' key inside the attributes should rather be an array so any preprocessing of theme_item_list() can safely add classes to all list items if needed. Otherwise, you get errors or you need to do string handling. Maybe worth fixing real quick in your next iteration.
Comments
Comment #2
joachim commentedSounds reasonable. Any chance you could make a patch for that?
Comment #3
upchuk commentedSure, here you go :)
D
Comment #4
joachim commentedThanks! Committed.