diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php
index 5988c3eaca..88cad1f915 100644
a
|
b
|
class WP_Posts_List_Table extends WP_List_Table { |
1112 | 1112 | $out[] = $this->get_edit_link( $posts_in_term_qv, $label ); |
1113 | 1113 | } |
1114 | 1114 | /* translators: used between list items, there is a space after the comma */ |
1115 | | echo join( __( ', ' ), $out ); |
| 1115 | $term_list_html = join( __( ', ' ), $out ); |
| 1116 | |
| 1117 | /** |
| 1118 | * Filters the html text including the list of terms for a taxonomy and post on the Posts list table. |
| 1119 | * |
| 1120 | * @since 4.9.1 |
| 1121 | * |
| 1122 | * @param string $term_list_html The HTML for the term list corresponding to the taxonomy to display. |
| 1123 | * @param int $post_id The current post ID. |
| 1124 | * @param string $taxonomy The taxonomy. |
| 1125 | */ |
| 1126 | echo apply_filters( "admin_term_links-{$taxonomy}", $term_list_html, $post->ID, $taxonomy ); |
1116 | 1127 | } else { |
1117 | 1128 | echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . $taxonomy_object->labels->no_terms . '</span>'; |
1118 | 1129 | } |