Changeset 11142
- Timestamp:
- 04/30/2009 07:55:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/author-template.php
r11138 r11142 84 84 * @link http://codex.wordpress.org/Template_Tags/the_author_meta 85 85 * @since 2.8.0 86 * @uses $authordata The current author's DB object (if $user_id not specified). 86 87 * @param string $field selects the field of the users record. 88 * @param int $user_id Optional. User ID. 87 89 * @return string The author's field from the current author's DB object. 88 90 */ … … 91 93 global $authordata; 92 94 else 93 $authordata = get_userdata( $ auth_id );95 $authordata = get_userdata( $user_id ); 94 96 95 97 $field = strtolower($field); … … 111 113 * @since 2.8.0 112 114 * @param string $field selects the field of the users record. 115 * @param int $user_id Optional. User ID. 113 116 * @echo string The author's field from the current author's DB object. 114 117 */
Note: See TracChangeset
for help on using the changeset viewer.