PluginProbe
The WP Remote WordPress Plugin / 6.76
The WP Remote WordPress Plugin v6.76
6.76 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 All 54 releases
← All changes | callback/base.php +3 -3 6.696.76 View file →
@@ -5,9 +5,9 @@
5 5
6 6 class WPRCallbackBase {
7 7
8 8 public static $wing_infos = array("MANAGE_WING_VERSION" => '2.0',
9 - "ACTLOG_WING_VERSION" => '1.0',
9 + "ACTLOG_WING_VERSION" => '1.2',
10 10 "DYNSYNC_WING_VERSION" => '1.0',
11 11 "UPGRADER_WING_VERSION" => '1.1',
12 12 "BRAND_WING_VERSION" => '1.1',
13 13 "DB_WING_VERSION" => '1.5',
@@ -28,9 +28,9 @@
28 28 return json_decode(json_encode($obj), true);
29 29 }
30 30
31 31 public function base64Encode($data, $chunk_size) {
32 - if ($chunk_size) {
32 + if (is_int($chunk_size) && $chunk_size > 0) {
33 33 $out = "";
34 34 $len = strlen($data);
35 35 for ($i = 0; $i < $len; $i += $chunk_size) {
36 36 $out .= base64_encode(substr($data, $i, $chunk_size));
@@ -40,5 +40,5 @@
40 40 }
41 41 return $out;
42 42 }
43 43 }
44 -endif;
44 +endif;