diff --git a/includes/admin/class-wp-job-manager-admin.php b/includes/admin/class-wp-job-manager-admin.php index 114dee6f0..3d955dcf5 100644 --- a/includes/admin/class-wp-job-manager-admin.php +++ b/includes/admin/class-wp-job-manager-admin.php @@ -135,7 +135,7 @@ public function admin_enqueue_scripts() { wp_enqueue_script( 'job_manager_admin_js' ); WP_Job_Manager::register_script( 'job_tags_upsell_js', 'js/admin/job-tags-upsell.js', [], true ); - if ( ! class_exists( 'WP_Job_Manager_Job_Tags' ) ) { + if ( ! class_exists( 'WP_Job_Manager_Job_Tags' ) && $screen->is_block_editor() ) { wp_enqueue_script( 'job_tags_upsell_js' ); }