| @@ -55,13 +55,9 @@ | ||
| 55 | 55 | FrmFieldsHelper::run_wpautop( array( 'wpautop' => true ), $html ); |
| 56 | 56 | $pre_filter = $html; |
| 57 | 57 | $html = apply_filters( 'frm_get_default_value', $html, (object) $this->field, false ); |
| 58 | 58 | |
| 59 | - if ( $pre_filter === $html ) { | |
| 60 | - $html = do_shortcode( $html ); | |
| 61 | - } | |
| 62 | - | |
| 63 | - return $html; | |
| 59 | + return $pre_filter === $html ? do_shortcode( $html ) : $html; | |
| 64 | 60 | } |
| 65 | 61 | |
| 66 | 62 | /** |
| 67 | 63 | * @return string |