| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:60788f3b-57c1-13c1-c925-3a83e7aeba65 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AF48:5903E:1208B9:177640:6990F052 |
| html-safe-nonce | 3ebdc3e6033dc915541cf9c2ddf5ece9b54ded625e0d3bcb719e25cdad1b6f57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjQ4OjU5MDNFOjEyMDhCOToxNzc2NDA6Njk5MEYwNTIiLCJ2aXNpdG9yX2lkIjoiODAwNjE4MjU4MzQ4Njk5NzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 12d49f28dceb8a04ebb88ae500b90aa0a8bb59cd6813f7c99670f0b28a2b2157 |
| hovercard-subject-tag | pull_request:3246542541 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/extension-command/496/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/e7c32978b23fb6df7de2edce91274e481d5a6864450b3c1bb18ca7f70b8fbc72/wp-cli/extension-command/pull/496 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e7c32978b23fb6df7de2edce91274e481d5a6864450b3c1bb18ca7f70b8fbc72/wp-cli/extension-command/pull/496 |
| og:image:alt | Summary
This PR adds a --force flag to wp plugin activate command that forces re-running activation hooks even if the plugin is already active. When both --activate and --force flags are used with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Copilot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-cache |
| go-import | github.com/wp-cli/extension-command git https://github.com/wp-cli/extension-command.git |
| octolytics-dimension-user_id | 1570774 |
| octolytics-dimension-user_login | wp-cli |
| octolytics-dimension-repository_id | 87201472 |
| octolytics-dimension-repository_nwo | wp-cli/extension-command |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 87201472 |
| octolytics-dimension-repository_network_root_nwo | wp-cli/extension-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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=wp-cli%2Fextension-command |
| Reload | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
| Reload | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
| Reload | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
|
wp-cli
| https://patch-diff.githubusercontent.com/wp-cli |
| extension-command | https://patch-diff.githubusercontent.com/wp-cli/extension-command |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fwp-cli%2Fextension-command |
|
Fork
85
| https://patch-diff.githubusercontent.com/login?return_to=%2Fwp-cli%2Fextension-command |
|
Star
91
| https://patch-diff.githubusercontent.com/login?return_to=%2Fwp-cli%2Fextension-command |
|
Code
| https://patch-diff.githubusercontent.com/wp-cli/extension-command |
|
Issues
23
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/issues |
|
Pull requests
9
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/actions |
|
Models
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/models |
|
Security
0
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/security |
|
Insights
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/pulse |
|
Code
| https://patch-diff.githubusercontent.com/wp-cli/extension-command |
|
Issues
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/actions |
|
Models
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/models |
|
Security
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/security |
|
Insights
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/pulse |
| Copilot | https://patch-diff.githubusercontent.com/Copilot |
| main | https://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/main |
| copilot/fix-activation-hooks-issue | https://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/copilot/fix-activation-hooks-issue |
| Conversation | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
| Commits5 (5) | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits |
| Checks | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/checks |
| Files changed | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/files |
| Add --force flag to plugin activate to re-run activation hooks | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#top |
| Copilot | https://patch-diff.githubusercontent.com/Copilot |
| main | https://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/main |
| copilot/fix-activation-hooks-issue | https://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/copilot/fix-activation-hooks-issue |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Feb 4, 2026 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#issue-3897376986 |
| Please reload this page | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
| extension-command/src/Plugin_Command.php | https://github.com/wp-cli/extension-command/blob/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53/src/Plugin_Command.php#L352-L356 |
| 12618c7 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/commit/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53 |
| @copilot | https://gh.io/copilot-coding-agent-docs |
| @danielbachhuber | https://github.com/danielbachhuber |
| @schlessera | https://github.com/schlessera |
| @swissspidy | https://github.com/swissspidy |
| @mrsdizzie | https://github.com/mrsdizzie |
| extension-command/src/Plugin_Command.php | https://github.com/wp-cli/extension-command/blob/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53/src/Plugin_Command.php#L352-L361 |
| 12618c7 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/commit/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53 |
| @swissspidy | https://github.com/swissspidy |
| @mrsdizzie | https://github.com/mrsdizzie |
| @swissspidy | https://github.com/swissspidy |
| https://core.trac.wordpress.org/ticket/52281 | https://core.trac.wordpress.org/ticket/52281 |
| Activation hooks are not run with --activate --force and already activated plugins #390 | https://github.com/wp-cli/extension-command/issues/390 |
| 2 minute survey | https://gh.io/copilot-coding-agent-survey |
| Please reload this page | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Initial plan | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/dec35ffc45ae83c0fd6143df045a6291e6489d88 |
| dec35ff | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/dec35ffc45ae83c0fd6143df045a6291e6489d88 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| swissspidy | https://patch-diff.githubusercontent.com/swissspidy |
| Feb 4, 2026 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22533765050 |
| started work | https://github.com/wp-cli/extension-command/agents/pull/496?session_id=00fce4ab-9c58-47cf-8cb8-2eacbf9793d2 |
| swissspidy | https://patch-diff.githubusercontent.com/swissspidy |
| February 4, 2026 16:34 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22533894395 |
|
View session
| https://github.com/wp-cli/extension-command/agents/pull/496?session_id=00fce4ab-9c58-47cf-8cb8-2eacbf9793d2 |
| https://patch-diff.githubusercontent.com/apps/github-actions |
| github-actions | https://patch-diff.githubusercontent.com/apps/github-actions |
|
command:plugin-activate
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/issues?q=state%3Aopen%20label%3Acommand%3Aplugin-activate |
|
scope:testing
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/issues?q=state%3Aopen%20label%3Ascope%3Atesting |
| Feb 4, 2026 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22533933181 |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| February 4, 2026 16:38 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#commits-pushed-62abd24 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
| https://patch-diff.githubusercontent.com/swissspidy |
| Add --force flag to plugin activate and wire it up with plugin install | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/62abd24ba3b53b8e7867c521857651d24407ecc6 |
| 62abd24 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/62abd24ba3b53b8e7867c521857651d24407ecc6 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
| https://patch-diff.githubusercontent.com/swissspidy |
| Add tests for --force flag with plugin activate and install | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/22f703d3dc2e740842acfc896fd4fb4e168d055b |
| 22f703d | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/22f703d3dc2e740842acfc896fd4fb4e168d055b |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
| https://patch-diff.githubusercontent.com/swissspidy |
| Address code review feedback - improve documentation and add error su… | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/468010adcbdaacc27a6250f3e63f4b7208b7a4a2 |
| 468010a | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/468010adcbdaacc27a6250f3e63f4b7208b7a4a2 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Feb 4, 2026 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22534188100 |
| finished work | https://github.com/copilot/tasks/pull/PR_kwDOBTKWwM7Bgk7N?session_id=00fce4ab-9c58-47cf-8cb8-2eacbf9793d2 |
| swissspidy | https://patch-diff.githubusercontent.com/swissspidy |
| February 4, 2026 16:46 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22534192146 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Copilot | https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| swissspidy | https://patch-diff.githubusercontent.com/swissspidy |
| February 4, 2026 16:46 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22534192204 |
| https://patch-diff.githubusercontent.com/swissspidy |
| Sign in to view | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496 |
| started work | https://github.com/wp-cli/extension-command/agents/pull/496?session_id=a6a8028c-e9bb-4d61-a7f8-838d88faf882 |
| swissspidy | https://patch-diff.githubusercontent.com/swissspidy |
| February 4, 2026 19:24 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22538299458 |
|
View session
| https://github.com/wp-cli/extension-command/agents/pull/496?session_id=a6a8028c-e9bb-4d61-a7f8-838d88faf882 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
| https://patch-diff.githubusercontent.com/swissspidy |
| Fix failing tests - correct expected output and use zip for install test | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/5b4b9e83568f8580c9549221612cc318d096dff5 |
| 5b4b9e8 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/5b4b9e83568f8580c9549221612cc318d096dff5 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
| Sign in to view | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496 |
| finished work | https://github.com/copilot/tasks/pull/PR_kwDOBTKWwM7Bgk7N?session_id=a6a8028c-e9bb-4d61-a7f8-838d88faf882 |
| swissspidy | https://patch-diff.githubusercontent.com/swissspidy |
| February 4, 2026 19:27 | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22538366398 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/{{ revealButtonHref }} |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496 |
|
| https://patch-diff.githubusercontent.com/swissspidy |
|
swissspidy
| https://patch-diff.githubusercontent.com/swissspidy |
|
| https://patch-diff.githubusercontent.com/swissspidy |
|
swissspidy
| https://patch-diff.githubusercontent.com/swissspidy |
|
Copilot code review
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
Copilot
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
command:plugin-activate
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/issues?q=state%3Aopen%20label%3Acommand%3Aplugin-activate |
|
scope:testing
| https://patch-diff.githubusercontent.com/wp-cli/extension-command/issues?q=state%3Aopen%20label%3Ascope%3Atesting |
|
Activation hooks are not run with --activate --force and already activated plugins
| https://github.com/wp-cli/extension-command/issues/390 |
| Please reload this page | https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496 |
|
| https://patch-diff.githubusercontent.com/apps/copilot-swe-agent |
|
| https://patch-diff.githubusercontent.com/swissspidy |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |