--- a/modules/user/user.module 2012-10-23 13:12:29.016427562 +0200 +++ b/modules/user/user.module 2012-10-23 15:02:36.406118556 +0200 @@ -1320,7 +1320,10 @@ $items[] = l(t('Create new account'), 'user/register', array('attributes' => array('title' => t('Create a new user account.')))); } $items[] = l(t('Request new password'), 'user/password', array('attributes' => array('title' => t('Request new password via e-mail.')))); - $form['links'] = array('#markup' => theme('item_list', array('items' => $items))); + $form['links'] = array( + '#theme' => 'item_list', + '#items' => $items, + ); return $form; }