| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/ict/wp-content/plugins/w3-total-cache/ |
Upload File : |
<?php
/**
* File: Cdnfsd_TransparentCDN_Page.php
*
* @since 0.15.0
*/
namespace W3TC;
/**
* Class: Cdnfsd_TransparentCDN_Page
*
* @since 0.15.0
*/
class Cdnfsd_TransparentCDN_Page {
/**
* Test API parameters.
*
* Called from plugin-admin.
*
* @since 0.15.0
* @static
*/
static public function admin_test_api_parameters_transparentcdn() {
wp_register_script(
'w3tc_cdn_transparentcdn_fsd',
plugins_url( 'Cdnfsd_TransparentCDN_Page_View.js', W3TC_FILE )
);
wp_localize_script(
'w3tc_cdn_transparentcdn_fsd', 'transparent_configuration_strings',
array(
'test_string' => __( 'Test the API parameters offered for you site', 'w3-total-cache') ,
'test_success' => __( 'Ok. Correct parameters', 'w3-total-cache', 'w3-total-cache' ),
'test_failure' => __( 'Error. Check your parameters and try again or contact with support.', 'w3-total-cache' ),
)
);
wp_enqueue_script(
'w3tc_cdn_transparentcdn_fsd',
plugins_url( 'Cdnfsd_TransparentCDN_Page_View.js', W3TC_FILE ),
array( 'jquery' ),
'1.0',
true
);
}
/**
* Render the settings box.
*
* @since 0.15.0
*/
static public function w3tc_settings_box_cdnfsd() {
$config = Dispatcher::config();
require W3TC_DIR . '/Cdnfsd_TransparentCDN_Page_View.php';
}
}