PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.8
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.8
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/controllers/FrmSMTPController.php +8 -12 6.266.8 View file →
@@ -51,9 +51,8 @@
51 51
52 52 add_filter( 'wp_mail_smtp_is_white_labeled', '__return_true' );
53 53
54 54 $self = new self();
55 -
56 55 if ( wp_doing_ajax() ) {
57 56 add_action( 'wp_ajax_frm_smtp_page_check_plugin_status', array( $self, 'ajax_check_plugin_status' ) );
58 57 }
59 58
@@ -74,10 +73,8 @@
74 73
75 74 /**
76 75 * Customize the upgrade link.
77 76 *
78 - * @param string $link
79 - *
80 77 * @return string
81 78 */
82 79 public function link( $link ) {
83 80 $new_link = 'formidableforms.com/go-wp-mail-smtp/?urllink=wpmailsmtp%2Ecom%2Flite%2Dupgrade&';
@@ -88,12 +85,8 @@
88 85 /**
89 86 * Don't nag people to install WPForms
90 87 *
91 88 * @since 4.04.04
92 - *
93 - * @param array $upsell
94 - *
95 - * @return array
96 89 */
97 90 public static function remove_wpforms_nag( $upsell ) {
98 91 if ( is_array( $upsell ) ) {
99 92 foreach ( $upsell as $k => $plugin ) {
@@ -320,9 +313,8 @@
320 313 'button_action' => '',
321 314 );
322 315
323 316 $is_installed = $this->output_data['plugin_installed'] || $this->output_data['pro_plugin_installed'];
324 -
325 317 if ( ! $is_installed ) {
326 318 // Return the download url.
327 319 $step['button_text'] = __( 'Install WP Mail SMTP', 'formidable' );
328 320 $step['button_class'] = 'frm-install-addon';
@@ -336,11 +328,11 @@
336 328
337 329 $step['plugin'] = $this->output_data['pro_plugin_installed'] ? $this->config['pro_plugin'] : $this->config['lite_plugin'];
338 330
339 331 if ( $this->output_data['plugin_activated'] ) {
340 - $step['icon'] = 'frm_step_complete_icon';
341 - $step['button_text'] = __( 'WP Mail SMTP Installed & Activated', 'formidable' );
342 - $step['button_class'] = 'grey disabled';
332 + $step['icon'] = 'frm_step_complete_icon';
333 + $step['button_text'] = __( 'WP Mail SMTP Installed & Activated', 'formidable' );
334 + $step['button_class'] = 'grey disabled';
343 335 } else {
344 336 $step['button_text'] = __( 'Activate WP Mail SMTP', 'formidable' );
345 337 $step['button_class'] = 'frm-activate-addon';
346 338 $step['button_action'] = __( 'Activate', 'formidable' );
@@ -412,9 +404,9 @@
412 404 * Get $phpmailer instance.
413 405 *
414 406 * @since 4.04.04
415 407 *
416 - * @return PHPMailer|\WPMailSMTP\Providers\MailCatcherInterface Instance of PHPMailer.
408 + * @return \WPMailSMTP\Providers\MailCatcherInterface|PHPMailer Instance of PHPMailer.
417 409 */
418 410 protected function get_phpmailer() {
419 411 global $phpmailer;
420 412
@@ -459,8 +451,10 @@
459 451 private function css() {
460 452 ?>
461 453 <style>
462 454 #frm-admin-smtp *, #frm-admin-smtp *::before, #frm-admin-smtpp *::after {
455 + -webkit-box-sizing: border-box;
456 + -moz-box-sizing: border-box;
463 457 box-sizing: border-box;
464 458 }
465 459 #frm-admin-smtp{
466 460 width: 700px;
@@ -519,8 +513,10 @@
519 513 border-radius: 3px;
520 514 }
521 515 #frm-admin-smtp .step,
522 516 #frm-admin-smtp .screenshot .cont {
517 + -webkit-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
518 + -moz-box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
523 519 box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
524 520 }
525 521 #frm-admin-smtp .step {
526 522 background-color: #F9F9F9;