equal
deleted
inserted
replaced
55 public function render_content() { |
55 public function render_content() { |
56 if ( empty( $this->choices ) ) { |
56 if ( empty( $this->choices ) ) { |
57 return; |
57 return; |
58 } |
58 } |
59 |
59 |
60 $value_hidden_class = $no_value_hidden_class = ''; |
60 $value_hidden_class = ''; |
|
61 $no_value_hidden_class = ''; |
61 if ( $this->value() ) { |
62 if ( $this->value() ) { |
62 $value_hidden_class = ' hidden'; |
63 $value_hidden_class = ' hidden'; |
63 } else { |
64 } else { |
64 $no_value_hidden_class = ' hidden'; |
65 $no_value_hidden_class = ' hidden'; |
65 } |
66 } |