Skip to content

Commit

Permalink
Merge pull request #5 from alleyinteractive/fix-wp-versions
Browse files Browse the repository at this point in the history
Address issues with CI
  • Loading branch information
attackant committed Mar 12, 2024
2 parents 1e9f2e2 + 4ad43d4 commit 02a2828
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<exclude-pattern>vendor/</exclude-pattern>

<!-- The version set here matches the minimum version tested in buddy.yml. -->
<config name="minimum_supported_wp_version" value="6.4" />
<config name="minimum_supported_wp_version" value="6.3" />

<!-- Define the prefixes that can be used by the plugin -->
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ A WordPress plugin to provide full page caching for 404 pages, improving perform
## Requirements
- SSL enabled on the website.
- An external object cache setup (e.g., Redis, Memcached).
- Requires at least: 6.4
- Tested up to: 6.5
- Requires at least: 6.3
- Tested up to: 6.4
- Requires PHP: 8.1
- License: GPL v2 or later

Expand Down
4 changes: 2 additions & 2 deletions src/features/class-full-page-cache-404.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ final class Full_Page_Cache_404 implements Feature {
* @return int
*/
public static function get_cache_time(): int {
return apply_filters( 'wp_404_caching_cache_time', self::DEFAULT_CACHE_TIME );
return apply_filters( 'wp_404_caching_cache_time', self::DEFAULT_CACHE_TIME ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
}

/**
Expand All @@ -82,7 +82,7 @@ public static function get_cache_time(): int {
* @return int
*/
public static function get_stale_cache_time(): int {
return apply_filters( 'wp_404_caching_stale_cache_time', self::DEFAULT_STALE_CACHE_TIME );
return apply_filters( 'wp_404_caching_stale_cache_time', self::DEFAULT_STALE_CACHE_TIME ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound
}

/**
Expand Down
4 changes: 2 additions & 2 deletions wp-404-caching.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
* Version: 1.0.1
* Author: Alley
* Author URI: https://github.com/alleyinteractive/wp-404-caching
* Requires at least: 6.4
* Tested up to: 6.5
* Requires at least: 6.3
* Tested up to: 6.4
*
* Text Domain: wp-404-caching
* Domain Path: /languages/
Expand Down

0 comments on commit 02a2828

Please sign in to comment.