C:\xampp\htdocs\landing\wp-content\plugins\imagify\inc\3rd-party\yoast-seo.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
defined
'ABSPATH' ) || die( 'Cheatin’ uh?' );

if ( 
defined'WPSEO_VERSION' ) && is_admin() && ! wp_doing_ajax() ) :

    
add_action'wp_print_scripts''_imagify_dequeue_yoastseo_script' );
    
/**
     * Remove Yoast SEO bugged script.
     *
     * @since 1.4.1
     */
    
function _imagify_dequeue_yoastseo_script() {
        
$current_screen get_current_screen();

        if ( isset( 
$current_screen ) && 'post' === $current_screen->base && 'attachment' === $current_screen->post_type ) {
            
wp_dequeue_script'yoast-seo' );
            
wp_deregister_script'yoast-seo' );
        }
    }

endif;
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586