PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | admin/class-remote-request.php +4 -2 19.028.5 View file →
@@ -14,9 +14,9 @@
14 14 * Holds the post method.
15 15 *
16 16 * @var string
17 17 */
18 - const METHOD_POST = 'post';
18 + public const METHOD_POST = 'post';
19 19
20 20 /**
21 21 * Holds the get method.
22 22 *
@@ -21,9 +21,9 @@
21 21 * Holds the get method.
22 22 *
23 23 * @var string
24 24 */
25 - const METHOD_GET = 'get';
25 + public const METHOD_GET = 'get';
26 26
27 27 /**
28 28 * Holds the endpoint to send the request to.
29 29 *
@@ -69,8 +69,10 @@
69 69 /**
70 70 * Sets the request body.
71 71 *
72 72 * @param mixed $body The body to set.
73 + *
74 + * @return void
73 75 */
74 76 public function set_body( $body ) {
75 77 $this->args['body'] = $body;
76 78 }