| @@ -36,17 +36,8 @@ | ||
| 36 | 36 | return $this->include_front_form_file(); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @return bool[] | |
| 41 | - */ | |
| 42 | - protected function field_settings_for_type() { | |
| 43 | - return array( | |
| 44 | - 'invalid' => true, | |
| 45 | - ); | |
| 46 | - } | |
| 47 | - | |
| 48 | - /** | |
| 49 | 40 | * @return string[] |
| 50 | 41 | */ |
| 51 | 42 | protected function new_field_settings() { |
| 52 | 43 | return array( |
| @@ -106,19 +97,6 @@ | ||
| 106 | 97 | } |
| 107 | 98 | |
| 108 | 99 | protected function prepare_import_value( $value, $atts ) { |
| 109 | 100 | return $this->get_multi_opts_for_import( $value ); |
| 110 | - } | |
| 111 | - | |
| 112 | - /** | |
| 113 | - * Unset aria-invalid for checkboxes because it's not valid for checkboxes. | |
| 114 | - * Instead aria-invalid is added to the checkbox group parent element. | |
| 115 | - * | |
| 116 | - * @since 6.25 | |
| 117 | - * | |
| 118 | - * @param array $shortcode_atts | |
| 119 | - * @param array $args | |
| 120 | - */ | |
| 121 | - public function set_aria_invalid_error( &$shortcode_atts, $args ) { | |
| 122 | - unset( $shortcode_atts['aria-invalid'] ); | |
| 123 | 101 | } |
| 124 | 102 | } |