| @@ -194,8 +194,9 @@ | ||
| 194 | 194 | * @since 6.8.4 |
| 195 | 195 | * |
| 196 | 196 | * @param array $attributes |
| 197 | 197 | * @param array $field |
| 198 | + * | |
| 198 | 199 | * @return array |
| 199 | 200 | */ |
| 200 | 201 | public function add_front_end_element_attributes( $attributes, $field ) { |
| 201 | 202 | $attributes['data-size'] = $this->get_captcha_size( $field ); |
| @@ -210,8 +211,9 @@ | ||
| 210 | 211 | /** |
| 211 | 212 | * @since 6.8.4 |
| 212 | 213 | * |
| 213 | 214 | * @param array $field |
| 215 | + * | |
| 214 | 216 | * @return string Either 'normal' or 'compact'. |
| 215 | 217 | */ |
| 216 | 218 | protected function get_captcha_size( $field ) { |
| 217 | 219 | return $field['captcha_size'] === 'default' ? 'normal' : $field['captcha_size']; |
| @@ -259,8 +261,9 @@ | ||
| 259 | 261 | * |
| 260 | 262 | * @since 6.25.1 |
| 261 | 263 | * |
| 262 | 264 | * @param bool $allow_multiple |
| 265 | + * | |
| 263 | 266 | * @return string |
| 264 | 267 | */ |
| 265 | 268 | public function get_class_prefix( $allow_multiple ) { |
| 266 | 269 | return ''; |