Build: correct some linting errors.
Fix linting failures after r44948 by running `composer run format`. Built from https://develop.svn.wordpress.org/trunk@44951 git-svn-id: http://core.svn.wordpress.org/trunk@44782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -3578,7 +3578,7 @@ function wp_enqueue_media( $args = array() ) {
|
||||
|
||||
// Filter to show only available mime types.
|
||||
$avail_post_mime_types = get_available_post_mime_types( 'attachment' );
|
||||
$mimeTypes = wp_list_pluck( get_post_mime_types(), 0 );
|
||||
$mimeTypes = wp_list_pluck( get_post_mime_types(), 0 );
|
||||
foreach ( $mimeTypes as $mime_type => $label ) {
|
||||
if ( ! wp_match_mime_types( $mime_type, $avail_post_mime_types ) ) {
|
||||
unset( $mimeTypes[ $mime_type ] );
|
||||
|
||||
Reference in New Issue
Block a user