You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
690 B
30 lines
690 B
<?php |
|
/** |
|
* Deprecated functions. |
|
* |
|
* @package AMP |
|
*/ |
|
|
|
/** |
|
* Load classes for FasterImage. |
|
* |
|
* @deprecated This is obsolete now that there is an autoloader. |
|
*/ |
|
function amp_load_fasterimage_classes() { |
|
_deprecated_function( __FUNCTION__, '0.6' ); |
|
} |
|
|
|
/** |
|
* Get FasterImage client for user agent. |
|
* |
|
* @deprecated This function is no longer used in favor of just instantiating the class. |
|
* |
|
* @param string $user_agent User Agent. |
|
* @return \FasterImage\FasterImage Instance. |
|
*/ |
|
function amp_get_fasterimage_client( $user_agent ) { |
|
_deprecated_function( __FUNCTION__, '1.0' ); |
|
$client = new FasterImage\FasterImage(); |
|
$client->setUserAgent( $user_agent ); |
|
return $client; |
|
}
|
|
|