PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/models/FrmEmailSummary.php +2 -5 6.26 → trunk View file →
@@ -102,11 +102,9 @@
102 102 ob_start();
103 103 include $this->get_include_file( $this->template );
104 104 $content = ob_get_clean();
105 105
106 - $content = str_replace( '%%INNER_CONTENT%%', $this->get_inner_content(), $content );
107 -
108 - return $content;
106 + return str_replace( '%%INNER_CONTENT%%', $this->get_inner_content(), $content );
109 107 }
110 108
111 109 /**
112 110 * Gets include file path from the given file name.
@@ -193,10 +191,9 @@
193 191 }
194 192
195 193 $subject = $this->get_subject();
196 194 $headers = $this->get_headers();
197 -
198 - $sent = wp_mail( $recipients, $subject, $content, $headers );
195 + $sent = wp_mail( $recipients, $subject, $content, $headers );
199 196
200 197 if ( ! $sent ) {
201 198 $headers = implode( "\r\n", $headers );
202 199 $sent = mail( $recipients, $subject, $content, $headers );