| @@ -137,12 +137,8 @@ | ||
| 137 | 137 | |
| 138 | 138 | remove_filter( 'terms_clauses', [ $this, 'customize_terms_query' ], $priority, $accepted_args ); |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | - protected function permission_check( \WP_REST_Request $request ): bool { | |
| 142 | - return current_user_can( 'edit_posts' ); | |
| 143 | - } | |
| 144 | - | |
| 145 | 141 | /** |
| 146 | 142 | * @return array |
| 147 | 143 | */ |
| 148 | 144 | protected function get_endpoint_registration_args(): array { |