Skip to content

Commit

Permalink
Merge branch 'trunk' into release/wp-job-manager-2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yscik authored Jul 29, 2024
2 parents dfaf20a + a75691e commit 468447e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/class-wp-job-manager-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' );
}

Expand Down

0 comments on commit 468447e

Please sign in to comment.