Ticket #10661: author-template.patch
File author-template.patch, 794 bytes (added by , 15 years ago) |
---|
-
wp-includes/author-template.php
104 104 else 105 105 $value = isset($authordata->$field) ? $authordata->$field : ''; 106 106 107 return apply_filters('get_the_author_' . $field, $value );107 return apply_filters('get_the_author_' . $field, $value, $user_id); 108 108 } 109 109 110 110 /** … … 116 116 * @echo string The author's field from the current author's DB object. 117 117 */ 118 118 function the_author_meta($field = '', $user_id = false) { 119 echo apply_filters('the_author_' . $field, get_the_author_meta($field, $user_id) );119 echo apply_filters('the_author_' . $field, get_the_author_meta($field, $user_id), $user_id); 120 120 } 121 121 122 122 /**