PluginProbe
Image Source Control Lite – Show Image Credits and Captions / 3.11.0
Image Source Control Lite – Show Image Credits and Captions v3.11.0
3.12.0 3.11.0 trunk 1.1 1.1.1 1.1.2 1.1.2.1 1.1.3 1.10 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.2 1.2.0.1 1.2.0.2 1.2.0.3 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.4.1 1.3.5 All 110 releases
← All changes | includes/log.php +0 -24 trunk3.11.0 View file →
@@ -84,32 +84,8 @@
84 84 error_log( '[' . date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ) ) . "] $method: $message\n", 3, self::get_log_file_path() );
85 85 }
86 86
87 87 /**
88 - * Log the current plugin settings on request.
89 - */
90 - public static function maybe_log_settings() {
91 - // phpcs:ignore WordPress.Security.NonceVerification.Recommended
92 - if ( ! self::enabled() || ! isset( $_GET['isc-settings'] ) ) {
93 - return;
94 - }
95 -
96 - $options = Plugin::get_options();
97 - unset( $options['license-key'] );
98 -
99 - self::log( '=== ISC SETTINGS ===' );
100 - self::log( $options );
101 -
102 - $license_status = get_option( 'isc_license_status', '' );
103 -
104 - if ( '' === $license_status || false === $license_status || null === $license_status ) {
105 - $license_status = '-';
106 - }
107 -
108 - self::log( 'isc_license_status: ' . $license_status );
109 - }
110 -
111 - /**
112 88 * Delete the log file without any conditions
113 89 */
114 90 public static function delete_log_file() {
115 91 wp_delete_file( self::get_log_file_path() );