Skip to content

Commit adfa625

Browse files
author
Francisco Giraldo
committed
Hotfix for WP 5.5
1 parent 5863c09 commit adfa625

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AbstractEndpoint.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ protected function endpoint_options() {
102102
return [
103103
'methods' => \WP_REST_Server::READABLE,
104104
'callback' => [ $this, 'endpoint_callback' ],
105+
'permission_callback' => '__return_true',
105106
'args' => $this->endpoint_args(),
106107
];
107108
}

0 commit comments

Comments
 (0)