- Timestamp:
- 05/02/2023 03:43:03 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r55276 r55703 141 141 142 142 $selected = selected( 143 $filter && 0 === strpos( $filter, 'post_mime_type:' ) &&143 $filter && str_starts_with( $filter, 'post_mime_type:' ) && 144 144 wp_match_mime_types( $mime_type, str_replace( 'post_mime_type:', '', $filter ) ), 145 145 true, … … 653 653 } elseif ( 'tags' === $column_name ) { 654 654 $taxonomy = 'post_tag'; 655 } elseif ( 0 === strpos( $column_name, 'taxonomy-' ) ) {655 } elseif ( str_starts_with( $column_name, 'taxonomy-' ) ) { 656 656 $taxonomy = substr( $column_name, 9 ); 657 657 } else {
Note: See TracChangeset
for help on using the changeset viewer.