Function theme_user referenced in node.tpl.php does not exist
drq - June 30, 2009 - 10:13
| Project: | Drupal |
| Version: | 6.x-dev |
| Component: | documentation |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | Quick fix |
Description
Line 18 in the modules/node/node.tpl.php file.
* - $name: Themed username of node author output from theme_user().
Function theme_user() not exists. theme_username() must be here.

#1
Problems in the API documentation belong in the Drupal project. Moving to correct queue and adding a more descriptive title.
This is a problem in 7.x as well as 6.x.
http://api.drupal.org/api/file/modules/node/node.tpl.php/7
#2
Here's a patch for D7
#3
#4
Looks good to me.
If committed, needs to be patched in D6 as well.
#5
Yup, I can backport it once committed.
#6
Great, thanks! Committed to HEAD.
Moving down to 6.x.
#7
#8
Ported to DRUPAL-6
#9
Forgot again.
#10
Same typo fix. RTBC.
#11
Don't mention it.
I translated a few topics of API into Russian and found this miastake.
#12
Thanks, committed to Drupal 6 too.
#13
Automatically closed -- issue fixed for 2 weeks with no activity.