diff --git a/wp-includes/author-template.php b/wp-includes/author-template.php
index 4b21e44..e9e98bd 100644
|
a
|
b
|
function get_the_author_meta($field = '', $user_id = false) { |
| 109 | 109 | |
| 110 | 110 | if ( 'id' == $field ) |
| 111 | 111 | $value = isset($authordata->ID) ? (int)$authordata->ID : 0; |
| 112 | | elseif ( isset($authordata->$user_field) ) |
| | 112 | elseif ( isset($authordata->$user_field) && !empty($authordata->$user_field) ) |
| 113 | 113 | $value = $authordata->$user_field; |
| 114 | 114 | else |
| 115 | 115 | $value = isset($authordata->$field) ? $authordata->$field : ''; |