- Timestamp:
- 09/05/2022 05:17:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r53414 r54071 636 636 637 637 if ( is_array( $terms ) ) { 638 $out = array(); 638 $output = array(); 639 639 640 foreach ( $terms as $t ) { 640 641 $posts_in_term_qv = array(); … … 642 643 $posts_in_term_qv['term'] = $t->slug; 643 644 644 $out [] = sprintf(645 $output[] = sprintf( 645 646 '<a href="%s">%s</a>', 646 647 esc_url( add_query_arg( $posts_in_term_qv, 'upload.php' ) ), … … 648 649 ); 649 650 } 650 echo implode( wp_get_list_item_separator(), $out ); 651 652 echo implode( wp_get_list_item_separator(), $output ); 651 653 } else { 652 654 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . get_taxonomy( $taxonomy )->labels->no_terms . '</span>';
Note: See TracChangeset
for help on using the changeset viewer.