| @@ -3,26 +3,17 @@ | ||
| 3 | 3 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 4 | } |
| 5 | 5 | |
| 6 | 6 | /** |
| 7 | - * @since 6.0 | |
| 7 | + * @since x.x | |
| 8 | 8 | */ |
| 9 | 9 | class FrmFieldCaptchaSettings { |
| 10 | 10 | |
| 11 | - /** | |
| 12 | - * @var string | |
| 13 | - */ | |
| 14 | 11 | public $secret; |
| 15 | 12 | |
| 16 | - /** | |
| 17 | - * @var string | |
| 18 | - */ | |
| 19 | 13 | public $token_field; |
| 20 | 14 | |
| 21 | - /** | |
| 22 | - * @var string | |
| 23 | - */ | |
| 24 | - public $endpoint; | |
| 15 | + public $end_point; | |
| 25 | 16 | |
| 26 | 17 | public function __construct( $frm_settings ) { |
| 27 | 18 | if ( $frm_settings->active_captcha === 'recaptcha' ) { |
| 28 | 19 | $this->secret = $frm_settings->privkey; |