PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0.5.4
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0.5.4
4.3.2 4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 All 165 releases
← All changes | Inc/Modules/ServerInformation/ServerInfo_Error_Logs_Details.php +8 -8 4.3.24.0.5.4 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2
3 -namespace PXLBSAdminify\Inc\Modules\ServerInformation;
3 +namespace WPAdminify\Inc\Modules\ServerInformation;
4 4
5 -use PXLBSAdminify\Inc\Utils;
5 +use WPAdminify\Inc\Utils;
6 6
7 7 // no direct access allowed
8 8 if ( ! defined( 'ABSPATH' ) ) {
9 9 exit;
@@ -9,9 +9,9 @@
9 9 exit;
10 10 }
11 11
12 12 /**
13 - * PXLBSAdminify
13 + * WPAdminify
14 14 *
15 15 * @package Server Information: Error Logs
16 16 *
17 17 * @author WP Adminify <support@wpadminify.com>
@@ -25,9 +25,9 @@
25 25
26 26 public function init() { ?>
27 27
28 28 <div class="wrap">
29 - <h1> <?php echo wp_kses_post( Utils::admin_page_title( esc_html__( 'Error Logs', 'adminify' ) ) ); ?> </h1>
29 + <h1> <?php echo Utils::admin_page_title( esc_html__( 'Error Logs', 'adminify' ) ); ?> </h1>
30 30
31 31 <?php if ( ( defined( 'WP_DEBUG' ) && ! WP_DEBUG ) || ( defined( 'WP_DEBUG_LOG' ) && ! WP_DEBUG_LOG ) ) { ?>
32 32 <p style="color: #ce2754; font-weight: bold">
33 33 <?php echo esc_html__( 'You have to set and enable "WP_DEBUG" and "WP_DEBUG_LOG" in your "wp-config.php" file, to show the error log here!', 'adminify' ); ?>
@@ -43,12 +43,12 @@
43 43
44 44 <?php
45 45
46 46 // Get the wp "debug.log" file
47 - $file = self::custom_error_log();
47 + $file = self::jltwp_adminify_error_log();
48 48
49 49 // Get the wp "debug.log" file content
50 - $file_content = self::custom_error_log_content( $file );
50 + $file_content = self::jltwp_adminify_error_log_content( $file );
51 51
52 52 // Check for custom "debug.log" file path
53 53 $custom_file_path = ( defined( 'WP_DEBUG_LOG' ) && WP_DEBUG_LOG != false && WP_DEBUG_LOG != 1 );
54 54
@@ -128,9 +128,9 @@
128 128 }
129 129
130 130
131 131
132 - public static function custom_error_log() {
132 + public static function jltwp_adminify_error_log() {
133 133
134 134 // Get the path of wp "debug.log"
135 135 $file = get_home_path() . 'wp-content/debug.log';
136 136
@@ -145,9 +145,9 @@
145 145
146 146 /**
147 147 * * Get Error Log File Contents
148 148 */
149 - public static function custom_error_log_content( $file ) {
149 + public static function jltwp_adminify_error_log_content( $file ) {
150 150
151 151 // Call wp file system
152 152 global $wp_filesystem;
153 153 WP_Filesystem();