Merged in feature/314-dev-dev01 (pull request #24)

auto-patch  314-dev-dev01-2024-01-25T04_09_02

* auto-patch  314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -15,14 +15,14 @@ class WPSEO_Remote_Request {
*
* @var string
*/
const METHOD_POST = 'post';
public const METHOD_POST = 'post';
/**
* Holds the get method.
*
* @var string
*/
const METHOD_GET = 'get';
public const METHOD_GET = 'get';
/**
* Holds the endpoint to send the request to.
@@ -70,6 +70,8 @@ class WPSEO_Remote_Request {
* Sets the request body.
*
* @param mixed $body The body to set.
*
* @return void
*/
public function set_body( $body ) {
$this->args['body'] = $body;