-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PSR container conflicts #7525
Conversation
Test the buildOption 1. Jetpack Beta
Option 2. Jurassic Ninja - available for logged-in A12s🚀 Launch a JN site with this branch 🚀 ℹ️ Install this Tampermonkey script to get more options. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
Size Change: 0 B Total Size: 1.43 MB ℹ️ View Unchanged
|
! interface_exists( ContainerInterface::class ) | ||
&& isset( $_GET['action'] ) // phpcs:ignore WordPress.Security.NonceVerification.Recommended | ||
&& 'upload-plugin' === $_GET['action'] // phpcs:ignore WordPress.Security.NonceVerification.Recommended | ||
&& 'update.php' === $GLOBALS['pagenow'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May check isset
for pagenow
too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in c6d4d49
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Reviewed code, and manually tested.
Ref p1697797515711159/1697705563.627949-slack-C01BPL3ALGP
Fixes #7488
Changes proposed in this Pull Request
Previously #7514, but it was reverted.
Testing instructions
Overall, if the container package is in our namespace, and a simple checkout flow works, we should be good.
Specific Testing Instructions for #7488