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