diff --git a/wp-content/plugins/sensei-pro/modules/course-showcase/includes/class-course-showcase-cpt-list.php b/wp-content/plugins/sensei-pro/modules/course-showcase/includes/class-course-showcase-cpt-list.php index 2349a2e1d..8c46c7ba5 100644 --- a/wp-content/plugins/sensei-pro/modules/course-showcase/includes/class-course-showcase-cpt-list.php +++ b/wp-content/plugins/sensei-pro/modules/course-showcase/includes/class-course-showcase-cpt-list.php @@ -159,7 +159,7 @@ public function hide_pending_state( $post_states, $post ): array { public function hydrate_status_cache(): void { global $wp_query; - if ( ! is_admin() || ! function_exists( 'get_current_screen' ) ) { + if ( ! is_admin() ) { return; }