@@ -38,11 +38,11 @@ public function enqueue_scripts() {
3838 $ config = Yoast_ACF_Analysis_Facade::get_registry ()->get ( 'config ' );
3939
4040 // Post page enqueue.
41- if ( wp_script_is ( WPSEO_Admin_Asset_Manager::PREFIX . 'post-scraper ' ) ) {
41+ if ( wp_script_is ( WPSEO_Admin_Asset_Manager::PREFIX . 'post-edit ' ) ) {
4242 wp_enqueue_script (
4343 'yoast-acf-analysis-post ' ,
4444 plugins_url ( '/js/yoast-acf-analysis.js ' , AC_SEO_ACF_ANALYSIS_PLUGIN_FILE ),
45- [ 'jquery ' , WPSEO_Admin_Asset_Manager::PREFIX . 'post-scraper ' , 'underscore ' ],
45+ [ 'jquery ' , WPSEO_Admin_Asset_Manager::PREFIX . 'post-edit ' , 'underscore ' ],
4646 $ this ->plugin_data ['Version ' ],
4747 true
4848 );
@@ -51,11 +51,11 @@ public function enqueue_scripts() {
5151 }
5252
5353 // Term page enqueue.
54- if ( wp_script_is ( WPSEO_Admin_Asset_Manager::PREFIX . 'term-scraper ' ) ) {
54+ if ( wp_script_is ( WPSEO_Admin_Asset_Manager::PREFIX . 'term-edit ' ) ) {
5555 wp_enqueue_script (
5656 'yoast-acf-analysis-term ' ,
5757 plugins_url ( '/js/yoast-acf-analysis.js ' , AC_SEO_ACF_ANALYSIS_PLUGIN_FILE ),
58- [ 'jquery ' , WPSEO_Admin_Asset_Manager::PREFIX . 'term-scraper ' ],
58+ [ 'jquery ' , WPSEO_Admin_Asset_Manager::PREFIX . 'term-edit ' ],
5959 $ this ->plugin_data ['Version ' ],
6060 true
6161 );
0 commit comments