diff --git a/src/includes/class-settings.php b/src/includes/class-settings.php index 48c1db6e..41001a1f 100644 --- a/src/includes/class-settings.php +++ b/src/includes/class-settings.php @@ -245,7 +245,7 @@ public static function fields( $settings=null, $default=0 ) { 'email_body' => array( 'name' => esc_html__( 'Body content:', 'super-forms' ), 'desc' => esc_html__( 'Use a custom email body. Use {loop_fields} to retrieve the loop.', 'super-forms' ), - 'default' => self::get_value( $default, 'email_body', $settings, esc_html__( '{loop_fields}
', 'super-forms' ) ), + 'default' => self::get_value( $default, 'email_body', $settings, '{loop_fields}
' ), 'type'=>'textarea', 'filter'=>true, 'parent'=>'send', @@ -266,7 +266,7 @@ public static function fields( $settings=null, $default=0 ) { 'name' => esc_html__( 'Field Loop:', 'super-forms' ), 'label' => esc_html__( '{loop_fields} inside the email body will be replaced with this content', 'super-forms' ), 'desc' => esc_html__( 'Use a custom loop. Use {loop_label} and {loop_value} to retrieve values.', 'super-forms' ), - 'default' => self::get_value( $default, 'email_loop', $settings, esc_html__( '{loop_label}{loop_value}', 'super-forms' ) ), + 'default' => self::get_value( $default, 'email_loop', $settings, '{loop_label}{loop_value}' ), 'type'=>'textarea', 'filter'=>true, 'parent'=>'send', @@ -441,7 +441,7 @@ public static function fields( $settings=null, $default=0 ) { 'confirm_body' => array( 'name' => esc_html__( 'Body content:', 'super-forms' ), 'desc' => esc_html__( 'Use a custom email body. Use {loop_fields} to retrieve the loop.', 'super-forms' ), - 'default' => self::get_value( $default, 'confirm_body', $settings, esc_html__( '{loop_fields}
', 'super-forms' ) ), + 'default' => self::get_value( $default, 'confirm_body', $settings, '{loop_fields}
' ), 'type'=>'textarea', 'filter'=>true, 'parent'=>'confirm', @@ -462,7 +462,7 @@ public static function fields( $settings=null, $default=0 ) { 'name' => esc_html__( 'Field Loop:', 'super-forms' ), 'label' => esc_html__( '{loop_fields} inside the email body will be replaced with this content', 'super-forms' ), 'desc' => esc_html__( 'Use a custom loop. Use {loop_label} and {loop_value} to retrieve values.', 'super-forms' ), - 'default' => self::get_value( $default, 'confirm_email_loop', $settings, esc_html__( '{loop_label}{loop_value}', 'super-forms' ) ), + 'default' => self::get_value( $default, 'confirm_email_loop', $settings, '{loop_label}{loop_value}' ), 'type'=>'textarea', 'filter'=>true, 'parent'=>'confirm',