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 | stripe/controllers/FrmTransLiteEntriesController.php +3 -4 6.25.1 → trunk View file →
@@ -8,15 +8,12 @@
8 8 /**
9 9 * Include payment details in the entry sidebar.
10 10 *
11 11 * @param stdClass $entry
12 + *
12 13 * @return void
13 14 */
14 15 public static function sidebar_list( $entry ) {
15 - if ( FrmTransLiteAppHelper::should_fallback_to_paypal() ) {
16 - return;
17 - }
18 -
19 16 // This line removes PayPal actions from the entries sidebar.
20 17 remove_action( 'frm_show_entry_sidebar', 'FrmPaymentsController::sidebar_list' );
21 18 add_action( 'frm_entry_shared_sidebar_middle', self::class . '::show_sidebar_list' );
22 19 }
@@ -24,13 +21,15 @@
24 21 /**
25 22 * Show the payment details in the entry sidebar.
26 23 *
27 24 * @param stdClass $entry
25 + *
28 26 * @return void
29 27 */
30 28 public static function show_sidebar_list( $entry ) {
31 29 $frm_payment = new FrmTransLitePayment();
32 30 $payments = $frm_payment->get_all_for_entry( $entry->id );
31 +
33 32 if ( ! $payments ) {
34 33 return;
35 34 }
36 35