-
Notifications
You must be signed in to change notification settings - Fork 84
Comparing changes
Open a pull request
base repository: wp-cli/extension-command
base: main
head repository: wp-cli/extension-command
compare: copilot/allow-php-file-install
- 20 commits
- 3 files changed
- 4 contributors
Commits on Jan 19, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 55a4daa - Browse repository at this point
Copy the full SHA 55a4daaView commit details -
Add support for installing plugins from single PHP file URLs
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for da838b3 - Browse repository at this point
Copy the full SHA da838b3View commit details -
Add documentation and additional tests for PHP file installation
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1f1924d - Browse repository at this point
Copy the full SHA 1f1924dView commit details -
Address code review feedback: add validation and improve code structure
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 075cb79 - Browse repository at this point
Copy the full SHA 075cb79View commit details -
Add security validations for path traversal and improve UX with downl…
…oad message timing Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0b4d7aa - Browse repository at this point
Copy the full SHA 0b4d7aaView commit details -
Fix security validations: properly check path traversal and validate …
…plugin headers Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 78e54f7 - Browse repository at this point
Copy the full SHA 78e54f7View commit details -
Optimize: check file existence before download and simplify path vali…
…dation Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 82f7819 - Browse repository at this point
Copy the full SHA 82f7819View commit details -
Add support for GitHub Gist page URLs (gist.github.com)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 551fe3e - Browse repository at this point
Copy the full SHA 551fe3eView commit details -
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3a4d190 - Browse repository at this point
Copy the full SHA 3a4d190View commit details -
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 584d505 - Browse repository at this point
Copy the full SHA 584d505View commit details -
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9f699f1 - Browse repository at this point
Copy the full SHA 9f699f1View commit details
Commits on Jan 22, 2026
-
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 232e96b - Browse repository at this point
Copy the full SHA 232e96bView commit details -
Improve error handling and validation in gist URL processing
- Add specific error handling for HTTP codes 401, 500, 503 - Add fallback for malformed rate limit responses - Verify plugin directory creation after wp_mkdir_p() - Fix regex pattern to properly match uppercase hex in gist IDs - Add catch-all for unexpected HTTP status codes Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 881032e - Browse repository at this point
Copy the full SHA 881032eView commit details -
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 264d2aa - Browse repository at this point
Copy the full SHA 264d2aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7138fb8 - Browse repository at this point
Copy the full SHA 7138fb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb58c28 - Browse repository at this point
Copy the full SHA cb58c28View commit details -
Configuration menu - View commit details
-
Copy full SHA for ff342c9 - Browse repository at this point
Copy the full SHA ff342c9View commit details -
Support anonymous gists by making username optional in regex
Anonymous gists don't have a username in the URL path (e.g., gist.github.com/1234567890abcdef). Updated regex to make the username segment optional using non-capturing group (?:[^/]+/)? so both user-owned and anonymous gists are supported. Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for aa00d38 - Browse repository at this point
Copy the full SHA aa00d38View commit details -
Make PHP extension checks case-insensitive
Convert extension to lowercase before comparison in all PHP extension checks to handle files with uppercase extensions (e.g., .PHP, .Php). This makes the validation more robust and consistent across: - Sanitized filename validation - URL path detection - Gist file filtering Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for aadf613 - Browse repository at this point
Copy the full SHA aadf613View commit details
Commits on Feb 5, 2026
-
Update src/WP_CLI/CommandWithUpgrade.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for dad98c9 - Browse repository at this point
Copy the full SHA dad98c9View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...copilot/allow-php-file-install