PluginProbe
The WP Remote WordPress Plugin / trunk
The WP Remote WordPress Plugin vtrunk
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
← All changes | callback/response.php +3 -2 5.05trunk View file →
@@ -1,10 +1,10 @@
1 1 <?php
2 2
3 3 if (!defined('ABSPATH')) exit;
4 -if (!class_exists('BVCallbackResponse')) :
4 +if (!class_exists('WPRCallbackResponse')) :
5 5
6 - class BVCallbackResponse extends BVCallbackBase {
6 + class WPRCallbackResponse extends WPRCallbackBase {
7 7 public $status;
8 8 public $bvb64cksize;
9 9
10 10 public function __construct($bvb64cksize) {
@@ -27,8 +27,9 @@
27 27 $resp = array_merge($this->status, $resp);
28 28 $resp["signature"] = "Blogvault API";
29 29 $response = "bvbvbvbvbv".serialize($resp)."bvbvbvbvbv";
30 30 $response = "bvb64bvb64".$this->base64Encode($response, $this->bvb64cksize)."bvb64bvb64";
31 + // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Safe for API response
31 32 die($response);
32 33
33 34 exit;
34 35 }