@@ -250,6 +250,9 @@ |
||
250 | 250 | } |
251 | 251 | } |
252 | 252 | |
253 | + /** |
|
254 | + * @param string $capability |
|
255 | + */ |
|
253 | 256 | protected function current_user_can( $capability, $plugin = null ) { |
254 | 257 | // If this endpoint accepts site based authentication and a blog token is used, skip capabilities check. |
255 | 258 | if ( $this->accepts_site_based_authentication() ) { |