| @@ -49,9 +49,9 @@ | ||
| 49 | 49 | * |
| 50 | 50 | * @return string |
| 51 | 51 | */ |
| 52 | 52 | public function get_site_key_tooltip() { |
| 53 | - return __( 'reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot.', 'formidable' ); // phpcs:ignore SlevomatCodingStandard.Files.LineLength.LineTooLong | |
| 53 | + return __( 'reCAPTCHA is a free, accessible CAPTCHA service that helps to digitize books while blocking spam on your blog. reCAPTCHA asks commenters to retype two words scanned from a book to prove that they are a human. This verifies that they are not a spambot.', 'formidable' ); | |
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * Add additional element attributes for reCAPTCHA. |
| @@ -59,9 +59,8 @@ | ||
| 59 | 59 | * @since 6.8.4 |
| 60 | 60 | * |
| 61 | 61 | * @param array $attributes |
| 62 | 62 | * @param array $field |
| 63 | - * | |
| 64 | 63 | * @return array |
| 65 | 64 | */ |
| 66 | 65 | public function add_front_end_element_attributes( $attributes, $field ) { |
| 67 | 66 | $attributes = parent::add_front_end_element_attributes( $attributes, $field ); |
| @@ -77,9 +76,8 @@ | ||
| 77 | 76 | /** |
| 78 | 77 | * @since 6.8.4 |
| 79 | 78 | * |
| 80 | 79 | * @param array $field |
| 81 | - * | |
| 82 | 80 | * @return string |
| 83 | 81 | */ |
| 84 | 82 | protected function get_captcha_size( $field ) { |
| 85 | 83 | if ( $this->captcha_is_invisible() ) { |
| @@ -117,24 +115,10 @@ | ||
| 117 | 115 | return in_array( $this->frm_settings->re_type, array( 'invisible', 'v3' ), true ); |
| 118 | 116 | } |
| 119 | 117 | |
| 120 | 118 | /** |
| 121 | - * Only add the "frm-" prefix if multiple reCAPTCHA fields are allowed. | |
| 122 | - * | |
| 123 | - * @since 6.25.1 | |
| 124 | - * | |
| 125 | - * @param bool $allow_multiple | |
| 126 | - * | |
| 127 | - * @return string | |
| 128 | - */ | |
| 129 | - public function get_class_prefix( $allow_multiple ) { | |
| 130 | - return $allow_multiple ? 'frm-' : ''; | |
| 131 | - } | |
| 132 | - | |
| 133 | - /** | |
| 134 | 119 | * @since 6.8.4 |
| 135 | 120 | * @deprecated 6.11.1 |
| 136 | - * | |
| 137 | 121 | * @return string |
| 138 | 122 | */ |
| 139 | 123 | public function getName() { |
| 140 | 124 | _deprecated_function( __METHOD__, '6.11.1' ); |