Automattic / Automattic/wp-super-cache

[Super Cache] Show a warning when setting GC time over 24h

Open
#983 0 comments 0 reactions 0 assignees View on GitHub
[Plugin] Super Cache enhancement
Dominant language
PHP
Stars
436
Forks
130
Avg merge
15h 11m
Merged PRs (30d)
10

Description

WordPress nonces last 24 hours. If a user has their Garbage Collection (or Preload frequency) set to a value over 24 hours, there is a chance that users will be served a stale nonce (e.g.: in a comment form), causing errors.

We should display a warning next to the setting if users enter a value over 24h to alert them to this possible issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Super Cache settings for Garbage Collection and Preload frequency, then inspect how those values are rendered and validated in the WordPress admin. Add a warning when either value exceeds 24 hours, and verify that the warning appears only for values above that threshold.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.