When coder_upgrade encounters Drupal 7 code with theme_item_list it leaves it unchanged. For example:
return theme_item_list(
array(
'items' => $items,
'title' => '',
'type' => 'ul',
'attributes' => array(),
)
);
}
This results in a warning:
Warning: Undefined array key "wrapper_attributes" in theme_item_list() (line 2434 of core\includes\theme.inc).
This is because in Backdrop new parameters have been added to theme_item_list().
The proper upgrade is to use the helper function theme() and changing the code to:
return theme('item_list',
array(
'items' => $items,
'title' => '',
'type' => 'ul',
'attributes' => array(),
)
);
}
Can coder_upgrade make this change or provide a note to alert what needs to be changed?