HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/wordpress/wp-content/plugins/wp-smushit/core/modules/class-lazy.php
<?php

namespace Smush\Core\Modules;

use Smush\Core\Lazy_Load\Lazy_Load_Controller;

class Lazy extends Abstract_Module {
	protected $slug = 'lazy_load';

	public function __call( $method_name, $arguments ) {
		$new_controller = Lazy_Load_Controller::get_instance();
		if ( method_exists( $new_controller, $method_name ) ) {
			_deprecated_function( $method_name, '3.16.0', "\Smush\Core\Lazy_Load\Lazy_Load_Controller::$method_name" );
			call_user_func_array( array( $new_controller, $method_name ), $arguments );
		} else {
			_deprecated_function( $method_name, '3.16.0' );
		}
	}
}