| @@ -64,9 +64,9 @@ | ||
| 64 | 64 | return $value; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | - * @throws \Exception If the safe mode cannot be enabled. | |
| 68 | + * @throws \Exception Access Denied. | |
| 69 | 69 | */ |
| 70 | 70 | public function ajax_enable_safe_mode( $data ) { |
| 71 | 71 | if ( ! current_user_can( 'install_plugins' ) ) { |
| 72 | 72 | throw new \Exception( 'Access denied.' ); |