Support for term/blog/post/user/etc cache flushes
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- wordpress
- 领域
- cli
调研方向
Start by reviewing the cache command's existing CLI entry points and the WordPress functions named in the issue, including clean_term_cache() and clean_comment_cache(). Determine which term, blog, post, user, and related cache flushes should be exposed without raw PHP, then define the command behavior and coverage needed for each supported cache type.
由索引模型根据 Issue 内容生成。
描述
Feature Request
- Yes, I reviewed the contribution guidelines.
Describe your use case and the problem you are facing
Flushing the entire cache can be expensive, and sometimes you can flush just a group but that doesn't cover everything.
On the other hand there are functions that clear term caches that also touch some options, these aren't represented in CLI without forcing you to open a shell and execute the PHP call directly. Not all hosts allow this.
Describe the solution you'd like
A way to do something like https://developer.wordpress.org/reference/functions/clean_term_cache/ or https://developer.wordpress.org/reference/functions/clean_comment_cache/ etc without writing raw PHP code
- 主要语言
- Gherkin
- 星标
- 16
- 派生
- 25
- 平均合并
- 7 分钟
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
module: core
难度 2/5 1-3 小时 新手友好度 75/100
bigbluebutton/bigbluebutton#25849 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
vercel-labs/just-bash#464 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
area:sandbox documentation enhancement platform:linux
难度 1/5 1 小时以内 新手友好度 85/100
anthropics/claude-code#96664 ·