PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 3.4.4
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v3.4.4
3.4.4 3.4.3 3.4.2 3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 All 197 releases
← All changes | views/backend/setup-wizard/footer.php +8 -5 2.2.0 → 3.4.4 View file →
@@ -14,10 +14,10 @@
14 14 // Display a back link if supplied.
15 15 if ( $this->previous_step_url ) {
16 16 ?>
17 17 <div class="left">
18 - <a href="<?php echo esc_attr( $this->previous_step_url ); ?>" class="button button-hero">
19 - <?php echo esc_html_e( 'Back', 'convertkit' ); ?>
18 + <a href="<?php echo esc_url( $this->previous_step_url ); ?>" class="button button-hero">
19 + <?php esc_html_e( 'Back', 'convertkit' ); ?>
20 20 </a>
21 21 </div>
22 22 <?php
23 23 }
@@ -29,9 +29,9 @@
29 29 <?php
30 30 if ( isset( $this->steps[ $this->step ]['next_button']['link'] ) ) {
31 31 // Link.
32 32 ?>
33 - <a href="<?php echo esc_attr( $this->steps[ $this->step ]['next_button']['link'] ); ?>" class="button button-primary button-hero"><?php echo esc_html( $this->steps[ $this->step ]['next_button']['label'] ); ?></a>
33 + <a href="<?php echo esc_url( $this->steps[ $this->step ]['next_button']['link'] ); ?>" class="button button-primary button-hero"><?php echo esc_html( $this->steps[ $this->step ]['next_button']['label'] ); ?></a>
34 34 <?php
35 35 } else {
36 36 // Submit button.
37 37 wp_nonce_field( $this->page_name );
@@ -49,17 +49,20 @@
49 49 </div><!-- /#convertkit-setup-wizard-body -->
50 50
51 51 <?php
52 52 // Show exit link if we're not on the last step.
53 - if ( $this->step < count( $this->steps ) ) {
53 + if ( $this->get_current_step_number() < $this->get_total_steps() && ! $this->is_modal() ) {
54 54 ?>
55 55 <div id="convertkit-setup-wizard-exit-link">
56 - <a href="<?php echo esc_attr( $this->exit_url ); ?>" class="convertkit-confirm" title="<?php esc_html_e( 'Exit wizard', 'convertkit' ); ?>" data-message="<?php esc_html_e( 'Are you sure you want to exit the wizard? Setup is incomplete.', 'convertkit' ); ?>">
56 + <a href="<?php echo esc_url( $this->exit_url ); ?>" class="convertkit-confirm" title="<?php esc_html_e( 'Exit wizard', 'convertkit' ); ?>" data-message="<?php esc_html_e( 'Are you sure you want to exit the wizard? Setup is incomplete.', 'convertkit' ); ?>">
57 57 <?php esc_html_e( 'Exit wizard', 'convertkit' ); ?>
58 58 </a>
59 59 </div>
60 60 <?php
61 61 }
62 +
63 + // Output Intercom.
64 + convertkit_output_intercom_messenger();
62 65 ?>
63 66 </div>
64 67 </body>
65 68 </html>