| @@ -1,11 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | -// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped -- PFBC framework extension, HTML output is controlled | |
| 3 | 2 | class AccuaForm_Element_Select extends AccuaForm_OptionElement { |
| 4 | 3 | protected $attributes = array("class" => "pfbc-select"); |
| 5 | 4 | |
| 6 | - public function render() { | |
| 7 | - $this->applyAriaAttributes(); | |
| 5 | + public function render() { | |
| 8 | 6 | if(isset($this->attributes["value"])) { |
| 9 | 7 | if(!is_array($this->attributes["value"])) |
| 10 | 8 | $this->attributes["value"] = array($this->attributes["value"]); |
| 11 | 9 | } |