Title: Support --all for `wp embed cache clear` · Issue #67 · wp-cli/embed-command · GitHub
Open Graph Title: Support --all for `wp embed cache clear` · Issue #67 · wp-cli/embed-command
X Title: Support --all for `wp embed cache clear` · Issue #67 · wp-cli/embed-command
Description: Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing There's currently no way of completely clearing the oembed cache. This is for example useful after one has added a oembed_...
Open Graph Description: Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing There's currently no way of completely clearing the oembed cache. This is for exam...
X Description: Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing There's currently no way of completely clearing the oembed cache. This is for ...
Opengraph URL: https://github.com/wp-cli/embed-command/issues/67
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support --all for `wp embed cache clear`","articleBody":"## Feature Request\r\n\r\n\u003c!--- ⚠️ Before you describe your requested feature... ---\r\n\r\n**Is your feature request directly related to a specific, existing command?**\r\n\r\nIf yes, make sure you are in the correct repository that contains the command you are referring to, and only create the issue in that repository.\r\n\r\nHere's a quick overview of where to find the different commands:\r\n\r\n* `wp (cache|transient) *` https://github.com/wp-cli/cache-command\r\n* `wp checksum` https://github.com/wp-cli/checksum-command\r\n* `wp config *` https://github.com/wp-cli/config-command\r\n* `wp core *` https://github.com/wp-cli/core-command\r\n* `wp cron *` https://github.com/wp-cli/cron-command\r\n* `wp db *` https://github.com/wp-cli/db-command\r\n* `wp embed *` https://github.com/wp-cli/embed-command\r\n* `wp (eval|eval-file)` https://github.com/wp-cli/eval-command\r\n* `wp export` https://github.com/wp-cli/export-command\r\n* `wp (option|post|comment|user|term|site) *` https://github.com/wp-cli/entity-command\r\n* `wp i18n` https://github.com/wp-cli/i18n-command\r\n* `wp import` https://github.com/wp-cli/import-command\r\n* `wp language` https://github.com/wp-cli/language-command\r\n* `wp maintenance-mode *` https://github.com/wp-cli/maintenance-mode-command\r\n* `wp media *` https://github.com/wp-cli/media-command\r\n* `wp package *` https://github.com/wp-cli/package-command\r\n* `wp (plugin|theme) *` https://github.com/wp-cli/extension-command\r\n* `wp rewrite` https://github.com/wp-cli/rewrite-command\r\n* `wp (role|cap) *` https://github.com/wp-cli/role-command\r\n* `wp scaffold *` https://github.com/wp-cli/scaffold-command\r\n* `wp search-replace` https://github.com/wp-cli/search-replace-command\r\n* `wp server` https://github.com/wp-cli/server-command\r\n* `wp shell` https://github.com/wp-cli/shell-command\r\n* `wp super-admin *` https://github.com/wp-cli/super-admin-command\r\n* `wp (widget|sidebar) *` https://github.com/wp-cli/widget-command\r\n\r\nIf you are not in the correct repository right now, you can just close this issue/window without submitting and click through to the correct one.\r\n\r\n**Is your feature request about a new command, or a more general idea?**\r\n\r\nIf your feature request is not about making a change to one or more existing commands, but rather about adding functionality that doesn't naturally fit one of the existing commands, head over to the [`wp-cli/ideas`](https://github.com/wp-cli/ideas) repository and [create a new issue in that repository](https://github.com/wp-cli/ideas/issues/new).\r\n\r\nThe issue tracker in that repository will collect ideas that are still vague and need fleshing out and/or preparatory work (like creating a new repository) before the actual development work can begin.\r\n\r\n--- ✅ If you are in the correct location now... ---> \r\n\r\n- [x] Yes, I reviewed the [contribution guidelines](https://make.wordpress.org/cli/handbook/contributing/).\r\n\r\n**Describe your use case and the problem you are facing**\r\n\r\nThere's currently no way of completely clearing the oembed cache. This is for example useful after one has added a `oembed_dataparse` filter to modify the HTML.\r\n\r\n**Describe the solution you'd like**\r\n\r\n I'd propose adding an `cache clear-all` command.\r\n\r\nThe quick and dirty version is to run `DELETE FROM wp_posts WHERE post_type = 'oembed_cache'` and `DELETE FROM wp_postmeta WHERE meta_key LIKE '_oembed_%'`.","author":{"url":"https://github.com/stefanfisk","@type":"Person","name":"stefanfisk"},"datePublished":"2022-08-23T13:57:28Z","url":"https://github.com/wp-cli/embed-command/issues/67"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea9b9a3a-080f-824c-908c-14ad3d0173b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD74:AC868:3F75EE5:53B004A:6AFA38E9 |
| html-safe-nonce | 4463814ab1221b16989ebc71c3af5652036b53f68d0f33876adcfbf1be898b52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDc0OkFDODY4OjNGNzVFRTU6NTNCMDA0QTo2QUZBMzhFOSIsInZpc2l0b3JfaWQiOiI1MzU5OTI1OTY1MjE0MDcxMDE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a49e5197f52943415e92c22292d51ec3864348edfbacf827f63b7682f54cf535 |
| hovercard-subject-tag | issue:1348005342 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/wp-cli/embed-command/67/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e765949165ebdd0b72af58383d796ceda56a089fcbaf3dc2650ec46481261d13/wp-cli/embed-command/issues/67 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e765949165ebdd0b72af58383d796ceda56a089fcbaf3dc2650ec46481261d13/wp-cli/embed-command/issues/67 |
| og:image:alt | Feature Request Yes, I reviewed the contribution guidelines. Describe your use case and the problem you are facing There's currently no way of completely clearing the oembed cache. This is for exam... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stefanfisk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-preview |
| go-import | github.com/wp-cli/embed-command git https://github.com/wp-cli/embed-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 96822749 |
| octolytics-dimension-repository_nwo | wp-cli/embed-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 96822749 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/embed-command |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width