{"id":27963263,"url":"https://github.com/littlebizzy/clear-caches","last_synced_at":"2025-05-07T19:58:38.564Z","repository":{"id":44657341,"uuid":"103866752","full_name":"littlebizzy/clear-caches","owner":"littlebizzy","description":"Purge all of the WordPress caches","archived":false,"fork":false,"pushed_at":"2025-04-02T09:48:36.000Z","size":269,"stargazers_count":17,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T19:58:33.242Z","etag":null,"topics":["wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://www.littlebizzy.com/plugins/clear-caches","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/littlebizzy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-17T22:33:17.000Z","updated_at":"2025-04-09T10:12:12.000Z","dependencies_parsed_at":"2025-04-01T08:26:34.637Z","dependency_job_id":"13bac12c-040d-4032-b02f-80fdcbfd56d8","html_url":"https://github.com/littlebizzy/clear-caches","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlebizzy%2Fclear-caches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlebizzy%2Fclear-caches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlebizzy%2Fclear-caches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/littlebizzy%2Fclear-caches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/littlebizzy","download_url":"https://codeload.github.com/littlebizzy/clear-caches/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252949272,"owners_count":21830150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wordpress","wordpress-plugin"],"created_at":"2025-05-07T19:58:37.920Z","updated_at":"2025-05-07T19:58:38.553Z","avatar_url":"https://github.com/littlebizzy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clear Caches\n\nPurge all of the WordPress caches\n\n## Changelog\n\n### 3.0.0\n- major refactoring and security hardening\n- Multisite network `sitemeta` transients now cleared (for super admins only)\n- added total deleted row count to cleared transients success message\n- added dynamic nonce helper with static caching for AJAX\n- replaced `sanitize_text_field()` with `sanitize_key()` for AJAX request\n- improved capability fallback logic via `get_clear_caches_capability()` helper\n- restricted Nginx cache deletion to known safe paths (supports SlickStack, EasyEngine, WordOps, and more)\n- updated Nginx deletion logic with stricter realpath + validation\n- improved JS modal UX (ARIA tags, better namespaces, more WordPress-native CSS styling)\n- improved JS modal security (gracefully degrades if `clearCachesData` is missing, escapes messages with `.text()` now to prevent HTML injection)\n- added `wp_die()` after all `wp_send_json_*()` responses\n- added `Requires PHP` plugin header\n- added `Tested up to` plugin header\n- added `Update URI` plugin header\n- added `Text Domain` plugin header\n\n### 2.0.2\n- fixed `gu_override_dot_org` snippet\n\n### 2.0.1\n- fixed enqueue of jQuery both frontend and backend\n\n### 2.0.0\n- completely refactored to WordPress coding standards\n- now supports multiple object cache softwares (Memcached, Memcache, Redis, Predis, Relay Cache, and default WordPress object cache)\n- now supports clearing (deleting) database transients\n- better messaging in case of success or failure in each cache module\n- better verification of actual flushing in certain modules\n- new defined constant `CLEAR_CACHES_MIN_CAPABILITY`\n- new defined constant `CLEAR_CACHES_TRANSIENTS`\n- supports PHP 7.0 to PHP 8.3\n- supports Multisite\n\n### 1.2.3\n* fixed fatal error (missing bracket)\n\n### 1.2.2\n* fixed undefined variable error (new default $modified = false)\n\n### 1.2.1\n* tweaked spelling of various buttons\n* tested with WP 5.1\n\n### 1.2.0\n* PBP v1.2.0\n* AUTOMATIC_UPDATE_PLUGINS\n\n### 1.1.1\n* simplied settings page to be single page (no tabs)\n* new button `Save Nginx Path`\n* popup modal outputs the Nginx path when caches are cleared\n\n### 1.1.0\n* changed plugin name from Purge Them All to Clear Caches\n* PBP v1.1.1\n* defined constant `CLEAR_CACHES`\n* defined constant `CLEAR_CACHES_NGINX`\n* defined constant `CLEAR_CACHES_NGINX_PATH`\n* defined constant `CLEAR_CACHES_OBJECT`\n* defined constant `CLEAR_CACHES_OPCACHE`\n* removed all CloudFlare integration\n* (focus going forward will be on-server caches only)\n\n### 1.0.0\n* initial release\n* uses PHP namespaces\n* object-oriented codebase\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlebizzy%2Fclear-caches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flittlebizzy%2Fclear-caches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flittlebizzy%2Fclear-caches/lists"}