René's URL Explorer Experiment


Title: Utils: Add `make_temp_file()` and `make_temp_dir()` helper functions by swissspidy · Pull Request #6374 · wp-cli/wp-cli · GitHub

Open Graph Title: Utils: Add `make_temp_file()` and `make_temp_dir()` helper functions by swissspidy · Pull Request #6374 · wp-cli/wp-cli

X Title: Utils: Add `make_temp_file()` and `make_temp_dir()` helper functions by swissspidy · Pull Request #6374 · wp-cli/wp-cli

Description: ⚙️ WP-CLI framework. Contribute to wp-cli/wp-cli development by creating an account on GitHub.

Open Graph Description: Summary by CodeRabbit Security Improved temporary file and directory handling with secure creation, restrictive permissions, and exclusive access. Added protections against unsafe temporary-file...

X Description: Summary by CodeRabbit Security Improved temporary file and directory handling with secure creation, restrictive permissions, and exclusive access. Added protections against unsafe temporary-file...

Opengraph URL: https://github.com/wp-cli/wp-cli/pull/6374

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:01a7cc50-9e2b-0ffe-f277-a3d222e5ab8f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBFD2:3C070:3055A5:43828E:6AFB7F11
html-safe-nonce9c0bf56c74a172530fc539a5ec3558477d2d6bbde513d0213ef5d5577d8c4b20
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkQyOjNDMDcwOjMwNTVBNTo0MzgyOEU6NkFGQjdGMTEiLCJ2aXNpdG9yX2lkIjoiMzAxNzYwMjQwNTczMTM2ODcyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8f139f90b2c0e73da03887441a4f49fa072389d55575c087ebee0a321f5e1873
hovercard-subject-tagpull_request:4195264814
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/wp-cli/6374/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e63c127ff1fbc8015485ea41cc2704bc077cbe1f82e4e7c8f5dd2c87be85d97c/wp-cli/wp-cli/pull/6374
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e63c127ff1fbc8015485ea41cc2704bc077cbe1f82e4e7c8f5dd2c87be85d97c/wp-cli/wp-cli/pull/6374
og:image:altSummary by CodeRabbit Security Improved temporary file and directory handling with secure creation, restrictive permissions, and exclusive access. Added protections against unsafe temporary-file...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameswissspidy
hostnamegithub.com
expected-hostnamegithub.com
Noneef32892d4269fb87b55e81cc4ba8d86e0f16aa28446ffbf46cba8be5179ab188
turbo-cache-controlno-cache
go-importgithub.com/wp-cli/wp-cli git https://github.com/wp-cli/wp-cli.git
octolytics-dimension-user_id1570774
octolytics-dimension-user_loginwp-cli
octolytics-dimension-repository_id2360755
octolytics-dimension-repository_nwowp-cli/wp-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2360755
octolytics-dimension-repository_network_root_nwowp-cli/wp-cli
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
releasebc3703b4dcbe820d1284ef63c88b001c850be25e
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/wp-cli/wp-cli/pull/6374#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
Sign uphttps://github.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%2Fwp-cli
Reloadhttps://github.com/wp-cli/wp-cli/pull/6374
Reloadhttps://github.com/wp-cli/wp-cli/pull/6374
Reloadhttps://github.com/wp-cli/wp-cli/pull/6374
wp-clihttps://github.com/wp-cli
wp-clihttps://github.com/wp-cli/wp-cli
Codehttps://github.com/wp-cli/wp-cli
Issues19 (19)https://github.com/wp-cli/wp-cli/issues
Pull requests12 (12)https://github.com/wp-cli/wp-cli/pulls
Discussionshttps://github.com/wp-cli/wp-cli/discussions
Actionshttps://github.com/wp-cli/wp-cli/actions
Wikihttps://github.com/wp-cli/wp-cli/wiki
Security and quality1 (1)https://github.com/wp-cli/wp-cli/security
Insightshttps://github.com/wp-cli/wp-cli/pulse
https://github.com/wp-cli/wp-cli
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli/tree/main
add/temp-filehttps://github.com/wp-cli/wp-cli/tree/add/temp-file
Conversationhttps://github.com/wp-cli/wp-cli/pull/6374
Commits15 (15)https://github.com/wp-cli/wp-cli/pull/6374/commits
Checkshttps://github.com/wp-cli/wp-cli/pull/6374/checks
Files changedhttps://github.com/wp-cli/wp-cli/pull/6374/files
Utils: Add make_temp_file() and make_temp_dir() helper functionshttps://github.com/wp-cli/wp-cli/pull/6374#top
swissspidyhttps://github.com/swissspidy
mainhttps://github.com/wp-cli/wp-cli/tree/main
add/temp-filehttps://github.com/wp-cli/wp-cli/tree/add/temp-file
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6374#issue-5050937997
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
swissspidyhttps://github.com/swissspidy
August 3, 2026 16:29https://github.com/wp-cli/wp-cli/pull/6374#commits-pushed-bffa3dd
https://github.com/swissspidy
Utils: Add make_temp_file() and make_temp_dir() helper functionshttps://github.com/wp-cli/wp-cli/pull/6374/commits/bffa3dd80f6da756405efc1c3799c69702e5f9e7
bffa3ddhttps://github.com/wp-cli/wp-cli/pull/6374/commits/bffa3dd80f6da756405efc1c3799c69702e5f9e7
https://github.com/swissspidy
CLI: Safely create and escape temp PHAR path in cli updatehttps://github.com/wp-cli/wp-cli/pull/6374/commits/79a62da6b0917c99dfceec19442ba89705c36d13
79a62dahttps://github.com/wp-cli/wp-cli/pull/6374/commits/79a62da6b0917c99dfceec19442ba89705c36d13
https://github.com/swissspidy
Utils: Secure temporary file creation in extract_from_phar() and laun…https://github.com/wp-cli/wp-cli/pull/6374/commits/6b835b2d774c0986afa36b12f7a65f72c92e8fdc
6b835b2https://github.com/wp-cli/wp-cli/pull/6374/commits/6b835b2d774c0986afa36b12f7a65f72c92e8fdc
https://github.com/swissspidy
Extractor: Use make_temp_dir() for secure archive extractionhttps://github.com/wp-cli/wp-cli/pull/6374/commits/66470e24685b8beb7249f3b36a1fec96ad1f117a
66470e2https://github.com/wp-cli/wp-cli/pull/6374/commits/66470e24685b8beb7249f3b36a1fec96ad1f117a
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
scope:framework https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Ascope%3Aframework
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6374#event-28893986036
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6374#issuecomment-5167726849
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://app.coderabbit.ai/change-stack/wp-cli/wp-cli/pull/6374?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack
wp-cli/wp-cli#6369https://github.com/wp-cli/wp-cli/pull/6369
wp-cli/wp-cli#6373https://github.com/wp-cli/wp-cli/pull/6373
wp-cli/wp-cli#6378https://github.com/wp-cli/wp-cli/pull/6378
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=wp-cli/wp-cli&utm_content=6374
Xhttps://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai
Mastodonhttps://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai
Reddithttps://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
August 3, 2026 14:52https://github.com/wp-cli/wp-cli/pull/6374#event-28895099579
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
code ownerhttps://github.com/wp-cli/wp-cli/blob/b0058f21097e411e1474a38f31001c8e9cc61543/.github/CODEOWNERS#L1
August 3, 2026 14:52https://github.com/wp-cli/wp-cli/pull/6374#event-28895100198
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
August 3, 2026 14:52https://github.com/wp-cli/wp-cli/pull/6374#event-28895100513
started reviewinghttps://github.com/wp-cli/wp-cli/sessions/abb9ee20-9f64-4251-976b-ee00e9b5e72d
swissspidyhttps://github.com/swissspidy
August 3, 2026 14:52https://github.com/wp-cli/wp-cli/pull/6374#event-28895137838
View session https://github.com/wp-cli/wp-cli/sessions/abb9ee20-9f64-4251-976b-ee00e9b5e72d
https://github.com/apps/copilot-pull-request-reviewer
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Aug 3, 2026 https://github.com/wp-cli/wp-cli/pull/6374#pullrequestreview-4845536098
View reviewed changes https://github.com/wp-cli/wp-cli/pull/6374/files/66470e24685b8beb7249f3b36a1fec96ad1f117a
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/wp-cli/wp-cli/pull/6374#pullrequestreview-4845536098
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
b0058f2https://github.com/wp-cli/wp-cli/commit/b0058f21097e411e1474a38f31001c8e9cc61543
66470e2https://github.com/wp-cli/wp-cli/commit/66470e24685b8beb7249f3b36a1fec96ad1f117a
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
php/utils.phphttps://github.com/wp-cli/wp-cli/pull/6374/files/66470e24685b8beb7249f3b36a1fec96ad1f117a#diff-44579845db87c0c3a4c0b98809b72e841722fae9cf67edd1948c338b1fd95396
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 3, 2026https://github.com/wp-cli/wp-cli/pull/6374#issuecomment-5168316949
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
Codecovhttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6374?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Files with missing lineshttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6374?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
php/utils.phphttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6374?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-cGhwL3V0aWxzLnBocA==
18 Missing ⚠️ https://app.codecov.io/gh/wp-cli/wp-cli/pull/6374?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
php/commands/src/CLI_Command.phphttps://app.codecov.io/gh/wp-cli/wp-cli/pull/6374?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli#diff-cGhwL2NvbW1hbmRzL3NyYy9DTElfQ29tbWFuZC5waHA=
1 Missing ⚠️ https://app.codecov.io/gh/wp-cli/wp-cli/pull/6374?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=wp-cli
Let us know!https://github.com/codecov/feedback/issues/255
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
swissspidyhttps://github.com/swissspidy
August 3, 2026 22:36https://github.com/wp-cli/wp-cli/pull/6374#commits-pushed-0dc3067
https://github.com/swissspidy
Fix temp file creation and write validation in launch_editor_for_input()https://github.com/wp-cli/wp-cli/pull/6374/commits/0dc3067a5662a5fcf321da441c9bbb04b69f8235
0dc3067https://github.com/wp-cli/wp-cli/pull/6374/commits/0dc3067a5662a5fcf321da441c9bbb04b69f8235
https://github.com/swissspidy
Validate prefix and suffix in make_temp_file() and make_temp_dir()https://github.com/wp-cli/wp-cli/pull/6374/commits/db086a3cc8be9eaefe1d0cc84bae7b13b036ff67
db086a3https://github.com/wp-cli/wp-cli/pull/6374/commits/db086a3cc8be9eaefe1d0cc84bae7b13b036ff67
https://github.com/swissspidy
Normalize path in get_first_subfolder() to avoid double slasheshttps://github.com/wp-cli/wp-cli/pull/6374/commits/045c8ddec24b5b0438c9f2cf1b9012f1b541642c
045c8ddhttps://github.com/wp-cli/wp-cli/pull/6374/commits/045c8ddec24b5b0438c9f2cf1b9012f1b541642c
https://github.com/apps/coderabbitai
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
https://github.com/apps/claude
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
claudehttps://github.com/claude
August 3, 2026 21:58https://github.com/wp-cli/wp-cli/pull/6374#commits-pushed-c6594fb
https://github.com/claude
Create temporary files with owner-only permissionshttps://github.com/wp-cli/wp-cli/pull/6374/commits/c6594fbfb95dd3ca8915099cc1d7267f2ca82b85
c6594fbhttps://github.com/wp-cli/wp-cli/pull/6374/commits/c6594fbfb95dd3ca8915099cc1d7267f2ca82b85
https://github.com/claude
Fix PHPStan errors in temporary file testshttps://github.com/wp-cli/wp-cli/pull/6374/commits/51fa9051c496726a3c09aab860c2ff9d829bba7e
51fa905https://github.com/wp-cli/wp-cli/pull/6374/commits/51fa9051c496726a3c09aab860c2ff9d829bba7e
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
force-pushedhttps://github.com/wp-cli/wp-cli/compare/9ef297c983eeea6ef632bdf9a958f3c1be734653..51fa9051c496726a3c09aab860c2ff9d829bba7e
9ef297chttps://github.com/wp-cli/wp-cli/commit/9ef297c983eeea6ef632bdf9a958f3c1be734653
51fa905https://github.com/wp-cli/wp-cli/commit/51fa9051c496726a3c09aab860c2ff9d829bba7e
Compare https://github.com/wp-cli/wp-cli/compare/9ef297c983eeea6ef632bdf9a958f3c1be734653..51fa9051c496726a3c09aab860c2ff9d829bba7e
August 3, 2026 21:58https://github.com/wp-cli/wp-cli/pull/6374#event-28915207290
https://github.com/swissspidy
https://github.com/apps/claude
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
https://github.com/apps/coderabbitai
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
Aug 4, 2026 https://github.com/wp-cli/wp-cli/pull/6374#ref-pullrequest-5058268838
Use 0755 instead of 0700 for cache and extraction directories #6378 https://github.com/wp-cli/wp-cli/pull/6378
swissspidyhttps://github.com/swissspidy
August 5, 2026 12:29https://github.com/wp-cli/wp-cli/pull/6374#commits-pushed-21fbbd4
https://github.com/swissspidy
Merge branch 'main' into add/temp-filehttps://github.com/wp-cli/wp-cli/pull/6374/commits/21fbbd469f484f300d21e4886073c3919ae35327
21fbbd4https://github.com/wp-cli/wp-cli/pull/6374/commits/21fbbd469f484f300d21e4886073c3919ae35327
https://github.com/swissspidy
PHPStan fixhttps://github.com/wp-cli/wp-cli/pull/6374/commits/39f1ba4fc7478f6b8932f26d8cba68f8c1451bfe
39f1ba4https://github.com/wp-cli/wp-cli/pull/6374/commits/39f1ba4fc7478f6b8932f26d8cba68f8c1451bfe
https://github.com/swissspidy
Address code review feedbackhttps://github.com/wp-cli/wp-cli/pull/6374/commits/af2cc7066af8f1a25f63158edcda1cb192f2e4c3
af2cc70https://github.com/wp-cli/wp-cli/pull/6374/commits/af2cc7066af8f1a25f63158edcda1cb192f2e4c3
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
3.0.0https://github.com/wp-cli/wp-cli/milestone/70
Aug 5, 2026https://github.com/wp-cli/wp-cli/pull/6374#event-29004786905
swissspidyhttps://github.com/swissspidy
August 10, 2026 11:07https://github.com/wp-cli/wp-cli/pull/6374#commits-pushed-07fad13
https://github.com/swissspidy
Merge branch 'main' into add/temp-filehttps://github.com/wp-cli/wp-cli/pull/6374/commits/07fad13d525505762d534ac01b8b9d8f306ec316
07fad13https://github.com/wp-cli/wp-cli/pull/6374/commits/07fad13d525505762d534ac01b8b9d8f306ec316
https://github.com/swissspidy
Merge branch 'main' into add/temp-filehttps://github.com/wp-cli/wp-cli/pull/6374/commits/b449c5774998ee22e8585059df2128cb5170edd3
b449c57https://github.com/wp-cli/wp-cli/pull/6374/commits/b449c5774998ee22e8585059df2128cb5170edd3
https://github.com/schlessera
schlesserahttps://github.com/schlessera
Sep 11, 2026 https://github.com/wp-cli/wp-cli/pull/6374#pullrequestreview-5180513233
View reviewed changes https://github.com/wp-cli/wp-cli/pull/6374/files/b449c5774998ee22e8585059df2128cb5170edd3
schlesserahttps://github.com/schlessera
https://github.com/wp-cli/wp-cli/pull/6374#pullrequestreview-5180513233
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
https://github.com/claude
Treat short writes to the editor temp file as failureshttps://github.com/wp-cli/wp-cli/pull/6374/commits/c233bab256fb3a6764fe754402a72c4fd0684eb6
c233babhttps://github.com/wp-cli/wp-cli/pull/6374/commits/c233bab256fb3a6764fe754402a72c4fd0684eb6
https://claude.ai/code/session_01LDfEnW5Md7ft8pXeu2ExgNhttps://claude.ai/code/session_01LDfEnW5Md7ft8pXeu2ExgN
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
f104e30https://github.com/wp-cli/wp-cli/commit/f104e30f7d0f993ce272e6d4347ff14df5bd9736
Sep 11, 2026https://github.com/wp-cli/wp-cli/pull/6374#event-30995323064
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
swissspidyhttps://github.com/swissspidy
September 11, 2026 19:36https://github.com/wp-cli/wp-cli/pull/6374#event-30995324842
Use Utils\make_temp_file() for the download temp path wp-cli/language-command#189 https://github.com/wp-cli/language-command/issues/189
Use Utils\make_temp_file() and Utils\make_temp_dir() for temporary paths wp-cli/package-command#249 https://github.com/wp-cli/package-command/issues/249
Use Utils\make_temp_file() for temporary paths wp-cli/core-command#345 https://github.com/wp-cli/core-command/issues/345
Use Utils\make_temp_file() only on translation cache hits wp-cli/language-command#190 https://github.com/wp-cli/language-command/pull/190
Use Utils\make_temp_file() / Utils\make_temp_dir() for package ZIP install temp paths wp-cli/package-command#250 https://github.com/wp-cli/package-command/pull/250
Replace manual temp path construction with Utils\make_temp_file() wp-cli/core-command#346 https://github.com/wp-cli/core-command/pull/346
https://github.co/hiddenchars
https://github.com/wp-cli/wp-cli/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fwp-cli%2Fwp-cli%2Fpull%2F6374
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/wp-cli/wp-cli/pull/6374/files/51fa9051c496726a3c09aab860c2ff9d829bba7e
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/wp-cli/wp-cli/pull/6374/files/66470e24685b8beb7249f3b36a1fec96ad1f117a
https://github.com/schlessera
schlessera https://github.com/schlessera
https://github.com/wp-cli/wp-cli/pull/6374/files/b449c5774998ee22e8585059df2128cb5170edd3
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
scope:framework https://github.com/wp-cli/wp-cli/issues?q=state%3Aopen%20label%3Ascope%3Aframework
3.0.0 https://github.com/wp-cli/wp-cli/milestone/70
Please reload this pagehttps://github.com/wp-cli/wp-cli/pull/6374
https://github.com/swissspidy
https://github.com/schlessera
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/claude
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.