| @@ -1,12 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -/** | |
| 3 | - * PFBC (PHP Form Builder Class) - Third-party library | |
| 4 | - * @package PFBC | |
| 5 | - */ | |
| 6 | - | |
| 7 | -// phpcs:disable WordPress.Security.EscapeOutput, WordPress.NamingConventions.PrefixAllGlobals, PluginCheck.CodeAnalysis.Heredoc -- Third-party library | |
| 8 | - | |
| 9 | 2 | class Element_Checkbox extends OptionElement { |
| 10 | 3 | protected $attributes = array("type" => "checkbox"); |
| 11 | 4 | protected $inline; |
| 12 | 5 | protected $maxheight; |
| @@ -41,9 +34,8 @@ | ||
| 41 | 34 | |
| 42 | 35 | if(substr($this->attributes["name"], -2) != "[]") |
| 43 | 36 | $this->attributes["name"] .= "[]"; |
| 44 | 37 | |
| 45 | - $this->applyAriaAttributes(); | |
| 46 | 38 | $count = 0; |
| 47 | 39 | echo '<div id="', $this->attributes["id"], '"><div class="pfbc-checkboxes">'; |
| 48 | 40 | foreach($this->options as $value => $text) { |
| 49 | 41 | $value = $this->getOptionValue($value); |