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/op-cache.php +3 -3 trunk1.0 View file →
@@ -7,10 +7,10 @@
7 7 $cache_messages = [
8 8 'opcache-purged' => __( 'PHP OPcache has been cleared.', 'flywp' ),
9 9 ];
10 10
11 -if ( isset( $_GET['fly-notice'] ) && isset( $cache_messages[ $_GET['fly-notice'] ] ) ) {
12 - $notice = $cache_messages[ $_GET['fly-notice'] ];
11 +if ( isset( $_GET['fly-notice'] ) && isset( $cache_messages[$_GET['fly-notice']] ) ) {
12 + $notice = $cache_messages[$_GET['fly-notice']];
13 13 }
14 14 ?>
15 15
16 16 <div class="fw-bg-white fw-shadow fw-rounded fw-sm:rounded-lg fw-mb-4">
@@ -34,9 +34,9 @@
34 34 <?php } ?>
35 35 </div>
36 36
37 37 <?php if ( $notice ) { ?>
38 - <div class="fw-bg-green-200 fw-text-green-800 fw-px-4 fw-py-1 fly-form-notice">
38 + <div class="fw-bg-green-200 fw-text-green-800 fw-px-4 fw-py-1" id="fly-page-cache-notice">
39 39 <p><?php echo esc_html( $notice ); ?></p>
40 40 </div>
41 41 <?php } ?>
42 42