PluginProbe
Parse.ly / 3.14.1
Parse.ly v3.14.1
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
← All changes | src/RemoteAPI/class-related-api.php +1 -4 3.16.13.14.1 View file →
@@ -10,9 +10,8 @@
10 10
11 11 namespace Parsely\RemoteAPI;
12 12
13 13 use Parsely\Parsely;
14 -use WP_REST_Request;
15 14
16 15 /**
17 16 * Class for Related API (`/related`).
18 17 *
@@ -27,13 +26,11 @@
27 26 * Returns whether the endpoint is available for access by the current
28 27 * user.
29 28 *
30 29 * @since 3.14.0
31 - * @since 3.16.0 Added the `$request` parameter.
32 30 *
33 - * @param WP_REST_Request|null $request The request object.
34 31 * @return bool
35 32 */
36 - public function is_available_to_current_user( $request = null ): bool {
33 + public function is_available_to_current_user(): bool {
37 34 return true;
38 35 }
39 36 }