Skip to content
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

Connection: Update XMLRPC overload #16316

Merged
merged 1 commit into from
Jun 29, 2020
Merged

Connection: Update XMLRPC overload #16316

merged 1 commit into from
Jun 29, 2020

Conversation

kraftbj
Copy link
Contributor

@kraftbj kraftbj commented Jun 29, 2020

In https://core.trac.wordpress.org/changeset/48204, Core has adopted the spread operator. As we're overloading the XMLRPC class, we need to match the parent methods.

Changes proposed in this Pull Request:

  • Use the spread operator instead of func_get_args for the xmlrpc class implementations.

Jetpack product discussion

No.

Does this pull request change what data or activity we track or use?

No.

Testing instructions:

  • No functional change, though it is a very slight performance bump.
  • Tests pass.

We may need to get creative with the older versions until our minimum is 5.5.

Proposed changelog entry for your changes:

  • WordPress 5.5 compatibility

@kraftbj kraftbj added the [Type] Bug When a feature is broken and / or not performing as intended label Jun 29, 2020
@kraftbj kraftbj self-assigned this Jun 29, 2020
Copy link

@test-case-reminder test-case-reminder bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are some suggested test cases for this PR.

Connection

  • In-place connection with free plan
  • In-place connection with paid plan
  • In-place connection with product purchase
  • Classic connection. Use Safari, or set a constant JETPACK_SHOULD_USE_CONNECTION_IFRAME to false
  • Disconnect/reconnect connection
  • Secondary user connection
  • Connection on multisite

If you think that suggestions should be improved please edit the configuration file here. You can also modify/add test-suites to be used in the configuration file.

@github-actions github-actions bot added the [Status] Needs Package Release This PR made changes to a package. Let's update that package now. label Jun 29, 2020
@jetpackbot
Copy link

Thank you for the great PR description!

When this PR is ready for review, please apply the [Status] Needs Review label. If you are an a11n, please have someone from your team review the code if possible. The Jetpack team will also review this PR and merge it to be included in the next Jetpack release.

E2E results is available here (for debugging purposes): https://jetpack-e2e-dashboard.herokuapp.com/pr-16316

Scheduled Jetpack release: July 7, 2020.
Scheduled code freeze: June 30, 2020

Generated by 🚫 dangerJS against 6c349ad

@kraftbj kraftbj added this to the 8.7 milestone Jun 29, 2020
@kraftbj kraftbj merged commit 5d70e19 into master Jun 29, 2020
@kraftbj kraftbj deleted the update/xmlrpc branch June 29, 2020 14:36
@jeherve jeherve added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Changelog labels Jun 29, 2020
@kraftbj kraftbj removed the [Status] Ready to Merge Go ahead, you can push that green button! label Jun 29, 2020
@kraftbj
Copy link
Contributor Author

kraftbj commented Jun 30, 2020

#15388

@jeherve jeherve removed the [Status] Needs Package Release This PR made changes to a package. Let's update that package now. label Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants