HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/delta/wp-content/plugins/w3-total-cache/PageSpeed_Page_View.php
<?php
/**
 * File: PageSpeed_Page_View.php
 *
 * Default PageSpeed page template.
 *
 * @since 2.3.0 Update to utilize OAuth2.0 and overhaul of feature.
 *
 * @package W3TC
 */

namespace W3TC;

if ( ! defined( 'W3TC' ) ) {
	die();
}

require W3TC_INC_DIR . '/options/common/header.php';

?>
<div id="w3tcps_container">
	<div id="w3tcps_intro">
		<h1><?php esc_html_e( 'Google PageSpeed', 'w3-total-cache' ); ?></h1>
		<p>
			<?php
			echo esc_html(
				sprintf(
					// translators: 1 cache lifetime.
					__(
						'This tool will analyze your website\'s homepage using the Google PageSpeed Insights API to gather desktop/mobile performance metrics. Additionally for each metric W3 Total Cache will include an explanation of the metric and our recommendation for achieving improvements via W3 Total Cache features/extensions if available. Results will be cached for %1$s but will forcibly refresh via the "Refresh Analysis" button.',
						'w3-total-cache'
					),
					Util_PageSpeed::seconds_to_str( Util_PageSpeed::get_cache_life() )
				)
			);
			?>
		</p>
	</div>
	<div id="w3tcps_home" class="w3tcps_content">
		<div class="page_post">
			<div class="w3tcps_buttons w3tc_none" page_post_id="<?php echo esc_attr( get_option( 'page_on_front' ) ); ?>" page_post_url="<?php echo esc_attr( network_home_url() ); ?>">
				<p class="w3tcps_timestamp_label">
					<?php esc_html_e( 'Analysis last run ', 'w3-total-cache' ); ?><span class="w3tcps_timestamp"></span>
					<input class="button w3tcps_analyze" type="button" value="<?php esc_attr_e( 'Refresh Analysis', 'w3-total-cache' ); ?>" />
				</p>
			</div>
			<div class="w3tcps_feedback">
				<div class="w3tcps_loading w3tc_none">
					<span class="spinner"></span>
					<p><?php esc_html_e( 'Running Analysis. This may take up to 2 minutes.', 'w3-total-cache' ); ?></p>
				</div>
				<div class="notice notice-error inline w3tcps_error w3tc_none"></div>
				<div class="notice notice-info inline w3tcps_missing_token w3tc_none"></div>
			</div>
			<div id="<?php echo esc_attr( get_option( 'page_on_front' ) ); ?>" class="page_post_psresults"></div>
		</div>
	</div>
</div>