| @@ -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_Radio extends OptionElement { |
| 10 | 3 | protected $attributes = array("type" => "radio"); |
| 11 | 4 | protected $inline; |
| 12 | 5 | protected $maxheight; |
| @@ -31,9 +24,8 @@ | ||
| 31 | 24 | } |
| 32 | 25 | } |
| 33 | 26 | |
| 34 | 27 | public function render() { |
| 35 | - $this->applyAriaAttributes(); | |
| 36 | 28 | $count = 0; |
| 37 | 29 | $checked = false; |
| 38 | 30 | echo '<div id="', $this->attributes["id"], '"><div class="pfbc-radio-buttons">'; |
| 39 | 31 | foreach($this->options as $value => $text) { |