René's URL Explorer Experiment


Title: Add --force flag to plugin activate to re-run activation hooks by Copilot · Pull Request #496 · wp-cli/extension-command · GitHub

Open Graph Title: Add --force flag to plugin activate to re-run activation hooks by Copilot · Pull Request #496 · wp-cli/extension-command

X Title: Add --force flag to plugin activate to re-run activation hooks by Copilot · Pull Request #496 · wp-cli/extension-command

Description: Manages plugins and themes, including installs, activations, and updates. - Add --force flag to plugin activate to re-run activation hooks by Copilot · Pull Request #496 · wp-cli/extension-command

Open Graph Description: 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 ...

X Description: 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 ...

Opengraph URL: https://github.com/wp-cli/extension-command/pull/496

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:60788f3b-57c1-13c1-c925-3a83e7aeba65
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF48:5903E:1208B9:177640:6990F052
html-safe-nonce3ebdc3e6033dc915541cf9c2ddf5ece9b54ded625e0d3bcb719e25cdad1b6f57
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjQ4OjU5MDNFOjEyMDhCOToxNzc2NDA6Njk5MEYwNTIiLCJ2aXNpdG9yX2lkIjoiODAwNjE4MjU4MzQ4Njk5NzMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac12d49f28dceb8a04ebb88ae500b90aa0a8bb59cd6813f7c99670f0b28a2b2157
hovercard-subject-tagpull_request:3246542541
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/wp-cli/extension-command/496/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e7c32978b23fb6df7de2edce91274e481d5a6864450b3c1bb18ca7f70b8fbc72/wp-cli/extension-command/pull/496
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e7c32978b23fb6df7de2edce91274e481d5a6864450b3c1bb18ca7f70b8fbc72/wp-cli/extension-command/pull/496
og:image:altSummary 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/extension-command git https://github.com/wp-cli/extension-command.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id87201472
octolytics-dimension-repository_nwowp-cli/extension-command
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id87201472
octolytics-dimension-repository_network_root_nwowp-cli/extension-command
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496
Reloadhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496
Reloadhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496
wp-cli https://patch-diff.githubusercontent.com/wp-cli
extension-commandhttps://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
Copilothttps://patch-diff.githubusercontent.com/Copilot
mainhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/main
copilot/fix-activation-hooks-issuehttps://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/copilot/fix-activation-hooks-issue
Conversationhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496
Commits5 (5)https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits
Checkshttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/checks
Files changedhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/files
Add --force flag to plugin activate to re-run activation hookshttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#top
Copilothttps://patch-diff.githubusercontent.com/Copilot
mainhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/main
copilot/fix-activation-hooks-issuehttps://patch-diff.githubusercontent.com/wp-cli/extension-command/tree/copilot/fix-activation-hooks-issue
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Feb 4, 2026https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#issue-3897376986
Please reload this pagehttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496
extension-command/src/Plugin_Command.phphttps://github.com/wp-cli/extension-command/blob/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53/src/Plugin_Command.php#L352-L356
12618c7https://patch-diff.githubusercontent.com/wp-cli/extension-command/commit/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53
@copilothttps://gh.io/copilot-coding-agent-docs
@danielbachhuberhttps://github.com/danielbachhuber
@schlesserahttps://github.com/schlessera
@swissspidyhttps://github.com/swissspidy
@mrsdizziehttps://github.com/mrsdizzie
extension-command/src/Plugin_Command.phphttps://github.com/wp-cli/extension-command/blob/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53/src/Plugin_Command.php#L352-L361
12618c7https://patch-diff.githubusercontent.com/wp-cli/extension-command/commit/12618c730ce9aec3e3c1a4db7e13e57a42ec6e53
@swissspidyhttps://github.com/swissspidy
@mrsdizziehttps://github.com/mrsdizzie
@swissspidyhttps://github.com/swissspidy
https://core.trac.wordpress.org/ticket/52281https://core.trac.wordpress.org/ticket/52281
Activation hooks are not run with --activate --force and already activated plugins #390https://github.com/wp-cli/extension-command/issues/390
2 minute surveyhttps://gh.io/copilot-coding-agent-survey
Please reload this pagehttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Initial planhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/dec35ffc45ae83c0fd6143df045a6291e6489d88
dec35ffhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/dec35ffc45ae83c0fd6143df045a6291e6489d88
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-swe-agent
swissspidyhttps://patch-diff.githubusercontent.com/swissspidy
Feb 4, 2026https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22533765050
started workhttps://github.com/wp-cli/extension-command/agents/pull/496?session_id=00fce4ab-9c58-47cf-8cb8-2eacbf9793d2
swissspidyhttps://patch-diff.githubusercontent.com/swissspidy
February 4, 2026 16:34https://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-actionshttps://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, 2026https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22533933181
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-swe-agent
February 4, 2026 16:38https://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 installhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/62abd24ba3b53b8e7867c521857651d24407ecc6
62abd24https://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 installhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/22f703d3dc2e740842acfc896fd4fb4e168d055b
22f703dhttps://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
468010ahttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/468010adcbdaacc27a6250f3e63f4b7208b7a4a2
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Feb 4, 2026https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22534188100
finished workhttps://github.com/copilot/tasks/pull/PR_kwDOBTKWwM7Bgk7N?session_id=00fce4ab-9c58-47cf-8cb8-2eacbf9793d2
swissspidyhttps://patch-diff.githubusercontent.com/swissspidy
February 4, 2026 16:46https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22534192146
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Copilothttps://patch-diff.githubusercontent.com/apps/copilot-swe-agent
swissspidyhttps://patch-diff.githubusercontent.com/swissspidy
February 4, 2026 16:46https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496#event-22534192204
https://patch-diff.githubusercontent.com/swissspidy
Sign in to viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496
started workhttps://github.com/wp-cli/extension-command/agents/pull/496?session_id=a6a8028c-e9bb-4d61-a7f8-838d88faf882
swissspidyhttps://patch-diff.githubusercontent.com/swissspidy
February 4, 2026 19:24https://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 testhttps://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/5b4b9e83568f8580c9549221612cc318d096dff5
5b4b9e8https://patch-diff.githubusercontent.com/wp-cli/extension-command/pull/496/commits/5b4b9e83568f8580c9549221612cc318d096dff5
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
Sign in to viewhttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fextension-command%2Fpull%2F496
finished workhttps://github.com/copilot/tasks/pull/PR_kwDOBTKWwM7Bgk7N?session_id=a6a8028c-e9bb-4d61-a7f8-838d88faf882
swissspidyhttps://patch-diff.githubusercontent.com/swissspidy
February 4, 2026 19:27https://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 freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.