[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
rocket-lazy-load
/
src
/
Admin
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 AdminPage.php
2,484 B
SET
[ EDIT ]
|
[ DEL ]
📄 ImagifyNotice.php
1,091 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: ImagifyNotice.php
<?php /** * Imagify Notice Class * * @package RocketLazyloadPlugin */ namespace RocketLazyLoadPlugin\Admin; /** * Imagify Notice display * * @since 2.0 * @author Remy Perona */ class ImagifyNotice { /** * Template path * * @since 2.0 * @author Remy Perona * * @var string */ private $template_path; /** * Constructor * * @param string $template_path Template path. * * @author Remy Perona * * @since 2.0 */ public function __construct( $template_path ) { $this->template_path = $template_path; } /** * Renders the Imagify notice * * @return void * @author Remy Perona * * @since 2.0 */ public function displayNotice() { $this->renderTemplate( 'imagify-notice' ); } /** * Renders the given template if it's readable. * * @param string $template Template name. * * @author Remy Perona * * @since 2.0 */ protected function renderTemplate( $template ) { $template_path = $this->template_path . $template . '.php'; if ( ! is_readable( $template_path ) ) { return; } include $template_path; } }