diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index e5e4a81e8c..4190920b2d 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1197,19 +1197,20 @@ class WP_Posts_List_Table extends WP_List_Table { post_type, 'post-formats' ) ) { - $all_post_formats = get_post_format_strings(); + if ( $bulk && current_theme_supports( 'post-formats' ) && post_type_supports( $screen->post_type, 'post-formats' ) ) { + $post_formats = get_theme_support( 'post-formats' ); ?>