PluginProbe
Metricool – Social media and site statistics / 2.1.1
Metricool – Social media and site statistics v2.1.1
2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.27 trunk
← All changes | app/Features/UserSettings/UserSettingsEndpoint.php +0 -4 2.0.2 → 2.1.1 View file →
@@ -34,12 +34,8 @@
34 34 * Add the task routes to the REST API.
35 35 */
36 36 public function addRoutes(array $routes): array
37 37 {
38 - if ($this->adminAccessAllowed() === false) {
39 - return $routes;
40 - }
41 -
42 38 $routeParameters = [
43 39 'methods' => \WP_REST_Server::READABLE . ', ' . \WP_REST_Server::EDITABLE,
44 40 'callback' => [$this, 'callback'],
45 41 ];