diff --git a/src/wp-admin/includes/credits.php b/src/wp-admin/includes/credits.php
index c6ff5e79ea..833b676cec 100644
a
|
b
|
function wp_credits_section_list( $credits = array(), $slug = '' ) { |
154 | 154 | $data2x = get_avatar_data( $person_data[1] . '@md5.gravatar.com', array( 'size' => $size * 2 ) ); |
155 | 155 | echo '<span class="wp-person-avatar"><img src="' . esc_url( $data['url'] ) . '" srcset="' . esc_url( $data2x['url'] ) . ' 2x" class="gravatar" alt="" /></span>' . "\n"; |
156 | 156 | echo esc_html( $person_data[0] ) . "</a>\n\t"; |
157 | | if ( ! $compact ) { |
| 157 | if ( ! $compact && ! empty( $person_data[3] ) ) { |
158 | 158 | // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction,WordPress.WP.I18n.NonSingularStringLiteralText |
159 | 159 | echo '<span class="title">' . translate( $person_data[3] ) . "</span>\n"; |
160 | 160 | } |