PluginProbe
FlyWP Helper – Page Cache, Page Optimization, Emails for FlyWP Server Control Panel / 1.0
FlyWP Helper – Page Cache, Page Optimization, Emails for FlyWP Server Control Panel v1.0
1.7.1 1.7.0 1.6.0 1.5.2 trunk 0.1 0.2.0 0.2.1 0.3 0.3.1 0.3.2 0.3.3 0.3.4 0.4 0.4.1 0.4.2 0.4.3 1.0 1.1 1.2 1.3.1 1.4.0 1.4.1 1.5.0 1.5.1 All 26 releases
← All changes | views/page-cache.php +3 -3 trunk1.0 View file →
@@ -8,10 +8,10 @@
8 8 'fastcgi-enabled' => __( 'Page Caching has been enabled.', 'flywp' ),
9 9 'fastcgi-disabled' => __( 'Page Caching has been disabled.', 'flywp' ),
10 10 ];
11 11
12 -if ( isset( $_GET['fly-notice'] ) && isset( $cache_messages[ $_GET['fly-notice'] ] ) ) {
13 - $notice = $cache_messages[ $_GET['fly-notice'] ];
12 +if ( isset( $_GET['fly-notice'] ) && isset( $cache_messages[$_GET['fly-notice']] ) ) {
13 + $notice = $cache_messages[$_GET['fly-notice']];
14 14 }
15 15 ?>
16 16
17 17 <div class="fw-bg-white fw-shadow fw-rounded fw-sm:rounded-lg fw-mb-6">
@@ -35,9 +35,9 @@
35 35 <?php } ?>
36 36 </div>
37 37
38 38 <?php if ( $notice ) { ?>
39 - <div class="fw-bg-green-200 fw-text-green-800 fw-px-4 fw-py-1 fly-form-notice">
39 + <div class="fw-bg-green-200 fw-text-green-800 fw-px-4 fw-py-1" id="fly-page-cache-notice">
40 40 <p><?php echo esc_html( $notice ); ?></p>
41 41 </div>
42 42 <?php } ?>
43 43