[drupal-docs] [bug] hook_search() example uses format_name() instead of theme('username', $node)

Dries drupal-docs at drupal.org
Sat Nov 5 07:35:57 UTC 2005


Issue status update for 
http://drupal.org/node/35297
Post a follow up: 
http://drupal.org/project/comments/add/35297

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  drewish
 Updated by:   Dries
-Status:       patch (code needs review)
+Status:       fixed

Committed to HEAD.  Thanks.




Dries



Previous comments:
------------------------------------------------------------------------

Wed, 26 Oct 2005 07:56:20 +0000 : drewish

Attachment: http://drupal.org/files/issues/core.php_0.patch (908 bytes)

According to instructions for updating modules to HEAD [1],
"format_name() was renamed to theme_username() and should be invoked
using the theme('username', ...) API." 


Here's a patch to update the hook_search() example to the new naming
scheme.
[1] http://drupal.org/node/22218







More information about the drupal-docs mailing list