-
Notifications
You must be signed in to change notification settings - Fork 846
Adds full connection cycle capability to the Connection package. #12699
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
Conversation
This is an automated check which relies on |
packages/connection/src/Manager.php
Outdated
| $args['body'] = $this->apply_activation_source_to_args( $args['body'] ); | ||
|
|
||
| // TODO: fix URLs for bad hosts | ||
| $response = \Jetpack_Client::_wp_remote_request( |
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.
What about this one? Are we planning to move it to a package?
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.
Yes, I'm hoping to merge Michael's #12717 into this PR once it gets merged.
jetpack.php
Outdated
| // @todo: Abstract out the admin functions, and only include them if is_admin() | ||
| require_once( JETPACK__PLUGIN_DIR . 'class.jetpack.php' ); | ||
| require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-network.php' ); | ||
| require_once( JETPACK__PLUGIN_DIR . 'class.jetpack-client.php' ); |
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.
This line disappearing is my favourite thing about this PR
af22078 to
ad40999
Compare
|
Example client plugin worked for me, and what I understand about the changes make sense :) |
|
491016a3f344e92d3f25bb28046d4dc52a51db70 moved the 3ecdad75cf619f60dbb8c64294f7e133e7fb046f provides a sort of hacky fix (by unswitching/reswitching the blog). |
3ecdad7 to
117a651
Compare
|
This PR looks like it might contain user tracking functions. We need to make sure that it is GDPR Compliant. Rules triggering this positive scan:
cc: @pesieminski |
|
I think this is ready for another review! More info on how to test it in p1HpG7-7lI-p2 and its comments. |
lezama
left a comment
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.
lezama
left a comment
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.
re approving after my last commit :)
* 7.7 changelog: initial set of changes * Changelog: add #13154 * Changelog: add #13134 * Changelog: add #12699 and many others * Changelog: add #13127 * Changelog: add #13167 * Changelog: add #13225 * Changelog: add #13179 * Changelog: add #13173 * Changelog: add #13232 * Changelog: add #13137 * Changelog: add #13172 * Changelog: add #13182 * Changelog: add #13200 * Changelog: add #13244 * Changelog: add #13267 * Changelog: add #13204 * changelog: add #13205 * Changelog: add #13183 * Changelog: add #13278 * Changelog: add #13162 * Changelog: add #13268 * Changelog: add #13286 * Changelog: add #13273 * Changelog: add #12474 * Changelog: add #13085 * Changelog: add #13266 * Changelog: add #13306 * Changelog: add #13311 * Changelog: add #13302 * Changelog: add #13196 * Changelog: add #12733 * Changelog: add #13261 * Changelog: add #13322 * Changelog: add #13333 * Changelog: add #13335
Changes proposed in this Pull Request:
[x] Adds the register method to the Connection package.
[x] Hooks the register verification method for registration verification.
[x] Adds multisite registration capability.
[x] Makes sure the methods are moved with only the needed dependencies.
[x] Makes sure the example plugin is able to connect using only the dependent packages and minimal boilerplate code.
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Testing instructions:
Proposed changelog entry for your changes: