PluginProbe
The WP Remote WordPress Plugin / 6.36
The WP Remote WordPress Plugin v6.36
6.72 6.69 6.65 6.62 6.48 6.47 4.87 4.97 5.05 5.09 5.16 5.22 5.24 5.25 5.38 5.41 5.42 5.45 5.47 5.53 5.56 5.65 5.68 5.72 5.73 All 53 releases
wpremote / protect / logger / fs.php

fs.php in The WP Remote WordPress Plugin 6.36, at protect/logger/fs.php

20 lines 508 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH') && !defined('MCDATAPATH')) exit;
3
4 if (!class_exists('WPRProtectLoggerFS_V636')) :
5 class WPRProtectLoggerFS_V636 {
6 public $logFile;
7
8 function __construct($filename) {
9 $this->logFile = $filename;
10 }
11
12 public function log($data) {
13 $_data = serialize($data);
14 $str = "bvlogbvlogbvlog" . ":";
15 $str .= strlen($_data) . ":" . $_data;
16 // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log -- logging required
17 error_log($str, 3, $this->logFile);
18 }
19 }
20 endif;