Changeset 44951
- Timestamp:
- 03/20/2019 10:05:58 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r44947 r44951 3579 3579 // Filter to show only available mime types. 3580 3580 $avail_post_mime_types = get_available_post_mime_types( 'attachment' ); 3581 $mimeTypes = wp_list_pluck( get_post_mime_types(), 0 );3581 $mimeTypes = wp_list_pluck( get_post_mime_types(), 0 ); 3582 3582 foreach ( $mimeTypes as $mime_type => $label ) { 3583 3583 if ( ! wp_match_mime_types( $mime_type, $avail_post_mime_types ) ) { -
trunk/tests/phpunit/tests/feed/rss2.php
r44948 r44951 400 400 $this->assertTrue( have_posts() ); 401 401 402 403 402 // Check to see if we have the expected XML output from the feed template. 404 403 $feed = $this->do_rss2();
Note: See TracChangeset
for help on using the changeset viewer.