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,21 +15,21 @@ class WPSEO_Endpoint_Statistics implements WPSEO_Endpoint {
*
* @var string
*/
const REST_NAMESPACE = 'yoast/v1';
public const REST_NAMESPACE = 'yoast/v1';
/**
* The route of the statistics endpoint.
*
* @var string
*/
const ENDPOINT_RETRIEVE = 'statistics';
public const ENDPOINT_RETRIEVE = 'statistics';
/**
* The name of the capability needed to retrieve data using the endpoints.
*
* @var string
*/
const CAPABILITY_RETRIEVE = 'read';
public const CAPABILITY_RETRIEVE = 'read';
/**
* Service to use.
@@ -49,6 +49,8 @@ class WPSEO_Endpoint_Statistics implements WPSEO_Endpoint {
/**
* Registers the REST routes that are available on the endpoint.
*
* @return void
*/
public function register() {
// Register fetch config.