PluginProbe
Passster – Password Protect Pages and Content / 4.3.17
Passster – Password Protect Pages and Content v4.3.17
4.3.17 4.3.16 4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 All 49 releases
← All changes | inc/freemius/templates/account/payments.php +10 -11 3.5.4 → 4.3.17 View file →
@@ -9,21 +9,21 @@
9 9 if ( ! defined( 'ABSPATH' ) ) {
10 10 exit;
11 11 }
12 12
13 - /**
14 - * @var array $VARS
15 - * @var Freemius $fs
16 - */
17 - $fs = freemius( $VARS['id'] );
13 + /**
14 + * @var array $VARS
15 + * @var Freemius $fs
16 + */
17 + $fs = freemius( $VARS['id'] );
18 18
19 + /**
20 + * @var FS_Payment[] $payments
21 + */
22 + $payments = $VARS['payments'];
23 +
19 24 $slug = $fs->get_slug();
20 25
21 - $payments = $fs->_fetch_payments();
22 -
23 - $show_payments = ( is_array( $payments ) && 0 < count( $payments ) );
24 -
25 - if ( $show_payments ) :
26 26 ?>
27 27 <div class="postbox">
28 28 <div id="fs_payments">
29 29 <h3><span class="dashicons dashicons-paperclip"></span> <?php fs_esc_html_echo_inline( 'Payments', 'payments', $slug ) ?></h3>
@@ -55,5 +55,4 @@
55 55 </div>
56 56 </div>
57 57 </div>
58 58 <?php
59 - endif;