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 +5 -5 0.41.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">
@@ -40,10 +40,10 @@
40 40 </div>
41 41 <?php } ?>
42 42
43 43 <div class="fw-mt-2 fw-px-4 fw-py-4 fw-fw-sm:p-6 fw-text-sm fw-text-gray-500">
44 - <p class="fw-mt-0"><?php esc_html_e( 'OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.', 'flywp' ); ?></p>
45 -
44 + <p class="fw-mt-0 fw-text-sm"><?php esc_html_e( 'OPcache improves PHP performance by storing precompiled script bytecode in shared memory, thereby removing the need for PHP to load and parse scripts on each request.', 'flywp' ); ?></p>
45 +
46 46 <?php if ( flywp()->opcache->enabled() ) { ?>
47 47 <div class="md:fw-flex fw-w-full fw-mb-4 fw-gap-3 fw-items-center">
48 48 <div class="sm:fw-w-2/3 fw-mb-6 sm:fw-mb-0">
49 49 <dl class="fw-m-0 fw-mt-2">
@@ -74,9 +74,9 @@
74 74 </dl>
75 75 </div>
76 76
77 77 <div class="sm:fw-w-1/3 fw-text-center sm:fw-text-right">
78 - <a href="<?php echo esc_url( flywp()->opcache->purge_cache_url() ); ?>" class="button button-primary button-hero"><?php esc_html_e( 'Clear Cache', 'flywp' ); ?></a>
78 + <a href="<?php echo esc_url( flywp()->opcache->purge_cache_url() ); ?>" class="button button-primary button-hero !fw-bg-indigo-600 hover:!fw-bg-indigo-700"><?php esc_html_e( 'Clear Cache', 'flywp' ); ?></a>
79 79 </div>
80 80 </div>
81 81 <?php } ?>
82 82 </div>