| Server IP : 87.229.120.60 / Your IP : 216.73.216.86 Web Server : Apache System : Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64 User : server ( 1002) PHP Version : 8.3.20 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/faktorteam/www/wp-content/plugins/wp-rocket/inc/classes/admin/deactivation/ |
Upload File : |
<?php
namespace WP_Rocket\Admin\Deactivation;
use WP_Rocket\Abstract_Render;
defined( 'ABSPATH' ) || exit;
/**
* Handles rendering of deactivation intent form on plugins page
*
* @since 3.0
* @author Remy Perona
*/
class Render extends Abstract_Render {
/**
* Renders Deactivation intent form
*
* @since 3.0
* @author Remy Perona
*
* @return void
*/
public function render_form() {
$args = [
'deactivation_url' => wp_nonce_url( 'plugins.php?action=deactivate&plugin=' . rawurlencode( 'wp-rocket/wp-rocket.php' ), 'deactivate-plugin_wp-rocket/wp-rocket.php' ),
];
echo $this->generate( 'form', $args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Dynamic content is properly escaped in the view.
}
}