diff --git a/wp-admin/includes/list-table-media.php b/wp-admin/includes/list-table-media.php index dd1cf6adc5..4684dd7269 100644 --- a/wp-admin/includes/list-table-media.php +++ b/wp-admin/includes/list-table-media.php @@ -90,6 +90,7 @@ class WP_Media_Table extends WP_List_Table { function extra_tablenav( $which ) { global $post_type, $detached; + $post_type_obj = get_post_type_object( $post_type ); ?>