Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Conversation

@ghost
Copy link

@ghost ghost commented Feb 22, 2019

Description

Fixes #86. WordPressComRestApi has included support for implicitly passing locale in requests. WPCOM API expects locale for v1 endpoints & _locale for v2 endpoints, as per p77Llu-byF-p2.

Testing Details

  • The branch should build and tests should pass.

  • This WordPressAuthenticator branch should also pass : issue/wpkit-86-integration

  • This WPiOS branch should also pass muster : issue/wpkit-86-integration, can be used to "smoke test" the impacted endpoints.

  • Please check here if your pull request includes additional test coverage.

@ghost
Copy link
Author

ghost commented Feb 22, 2019

@aerych would you able to spare some time to review this next week? I'd like to merge it early in the v12.0 release sequencing to ensure we have time to catch regressions.

@ghost ghost requested a review from aerych February 22, 2019 23:11
@ghost ghost unassigned aerych Feb 22, 2019
Copy link
Contributor

@aerych aerych left a comment

Choose a reason for hiding this comment

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

Heya @stevebaranski!
Changes look good to me :)
Just to surface our Slack chat here, we spotted an issue when passing nil for parameters that causes the locale to not be appended, but that's unrelated to the changes in this PR. :shipit: when ready.

@ghost ghost merged commit e82d9b9 into develop Feb 26, 2019
@ghost ghost deleted the issue/86-explicit-locale-handling branch February 26, 2019 05:15
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modify existing services to leverage locale handling

2 participants