PluginProbe
GutSlider – All in One Slider and Carousel Blocks for Gutenberg / 3.2.0
GutSlider – All in One Slider and Carousel Blocks for Gutenberg v3.2.0
3.2.0 3.1.0 3.0.0 2.13.2 2.13.1 2.13.0 trunk 1.0.0 2.1.0 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.2.1 2.2.2 2.3.0 2.4.0 2.5.1 2.5.3 2.5.4 2.5.5 All 57 releases
← All changes | admin/views/footer.php +27 -0 3.0.0 → 3.2.0 View file →
@@ -2,15 +2,42 @@
2 2 /**
3 3 * Shared dashboard shell footer.
4 4 *
5 5 * @package GutSliderBlocks
6 + *
7 + * @var bool $has_pro Whether the Pro plugin is active.
6 8 */
7 9
8 10 if ( ! defined( 'ABSPATH' ) ) {
9 11 exit;
10 12 }
13 +
14 +$gs_has_pro = isset( $has_pro ) ? (bool) $has_pro : defined( 'GUTSLIDER_PRO_VERSION' );
11 15 ?>
12 16 </main>
17 +
18 + <footer class="gs-appfoot">
19 + <div class="gs-appfoot__inner">
20 + <span>
21 + <?php
22 + printf(
23 + /* translators: %s: link to the review page. */
24 + esc_html__( 'Enjoying GutSlider? %s on WordPress.org.', 'slider-blocks' ),
25 + '<a class="gs-appfoot__link" href="https://wordpress.org/support/plugin/slider-blocks/reviews/" target="_blank" rel="noopener noreferrer">' . esc_html__( 'Leave a review', 'slider-blocks' ) . '</a>'
26 + );
27 + ?>
28 + </span>
29 + <span>
30 + <?php
31 + echo esc_html(
32 + $gs_has_pro
33 + ? sprintf( 'GutSlider Pro %s', GUTSLIDER_VERSION )
34 + : sprintf( 'GutSlider %s', GUTSLIDER_VERSION )
35 + );
36 + ?>
37 + </span>
38 + </div>
39 + </footer>
13 40
14 41 <div class="gs-toasts" data-gs-toasts aria-live="polite" aria-atomic="true"></div>
15 42
16 43 <div class="gs-savebar" data-gs-savebar aria-hidden="true">