PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-hide-security-enhancer/compatibility/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/mytube.pm/wp-content/plugins/wp-hide-security-enhancer/compatibility/wp-smush.php

<?php

/**
* Compatibility for Plugin Name: WP Smush  and WP Smush PRO
* Compatibility checked on Version: 3.4.0
*/

    class WPH_conflict_handle_wp_smush
        {
                        
            static function init()
                {
                    if( !   self::is_plugin_active() )
                        return FALSE;
                    
                    add_filter( 'smush_filter_generate_cdn_url',                    array( 'WPH_conflict_handle_wp_smush', 'smush_filter_generate_cdn_url'), 1 );
                    
                }                        
            
            static function is_plugin_active()
                {
                    
                    include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
                    
                    if( is_plugin_active( 'wp-smushit/wp-smush.php' )   ||  is_plugin_active( 'wp-smush-pro/wp-smush.php' ) )
                        return TRUE;
                        else
                        return FALSE;
                }
                       
            static function smush_filter_generate_cdn_url( $src )
                {
                                            
                    global $wph;
                    
                    $src    =   $wph->functions->content_urls_replacement( $src,  $wph->functions->get_replacement_list() );
                       
                    return $src; 
                    
                }

           
        }
        
        
    WPH_conflict_handle_wp_smush::init();


?>