-
Notifications
You must be signed in to change notification settings - Fork 834
Update/change plugin install destination depending on hook #21236
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
Update/change plugin install destination depending on hook #21236
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. 🔴 Action required: Please add missing changelog entries for the following projects: Use the Jetpack CLI tool to generate changelog entries by running the following command: Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
|
5f0cb37
to
f04ffdb
Compare
It works as described. 👍 |
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.
I just have a quick note. Additionally, what would you think about adding a new test for that potential new menu item scenario?
projects/plugins/jetpack/modules/masterbar/admin-menu/class-atomic-admin-menu.php
Outdated
Show resolved
Hide resolved
d98a807
to
bca979d
Compare
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.
Thanks for adding a test. It looks like it's failing on multisite at the moment:
1) Test_Atomic_Admin_Menu::test_add_plugins_menu
Undefined offset: 1
/tmp/wordpress-master/src/wp-content/plugins/jetpack/tests/php/modules/masterbar/test-class-atomic-admin-menu.php:335
ERRORS!
Tests: 1723, Assertions: 4739, Errors: 1, Skipped: 29, Incomplete: 7.
-- https://github.com/Automattic/jetpack/runs/3805159973
Do you think you could give it a look?
c2b7be2
to
34bc0c9
Compare
…n_install_destination_depending_on_hook
Great news! One last step: head over to your WordPress.com diff, D67583-code, and commit it. Thank you! |
…workflow # By Brad Jorsch (17) and others # Via GitHub * master: (151 commits) Boost: Fix overall speed scores info tooltip UI (#21319) Fix regular expressions in regression-checklist config (#21301) CLI: Add example.php inside src folder to plugin/package skeleton (#21333) mirrors: Add auto-release action (#21335) Pin dependencies (#21312) Explicitly ignore locale if same as site setting (#21305) Block Icons: change foreground color on WPCOM (#21328) Jetpack Plugin: Move <LoadingCard> to be generally accessible (#21197) VaultPress: Add Changelog for 2.2.0 (#21318) Boost: fix no-boost tooltip overlay issue (#21321) Update/change plugin install destination depending on hook (#21236) Calendly block: Fix preview in the block inserter (#21323) Post List: Release 0.2.1 (#21316) [not verified] Post List: Release 0.2.0 (#21309) Update dependency yoast/phpunit-polyfills to v1.0.2 (#21314) Init version 3.0.4-alpha (#21310) Allow an empty message string in the publicize share endpoint. (#21306) Beta Plugin: release v3.0.3 (#21308) Unit Test updates (#21307) Publicize: use post metadata as the primary data source. (#21231) ... # Conflicts: # tools/e2e-commons/config/ecosystem.config.js
Deployed r233707-wpcom |
Changes proposed in this Pull Request:
preferred_view
conditional since the experience doesn't depend on user's choiceJetpack product discussion
Does this pull request change what data or activity we track or use?
Testing instructions:
Simple Sites
/wp-admin
https://wordpress.com/plugins/[DOMAIN]
Atomic Sites
EITHER
in a mu-plugin
OR
wpcom-marketplace
stickerhttps://wordpress.com/plugins/[DOMAIN]