-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
External Media: Ensure the correct connect URL is used. (#37689)
A fix to the blog nonce check on WPCOM highlighted that the connect URL retrieved while connecting to services like Google Photos, had the incorrect blog ID (when a user has multiple blogs) and the nonce was based on the public-api blog ID. This fixes that problem by swapping to using the site specific endpoint to get the service details.
- Loading branch information
Showing
2 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
projects/plugins/jetpack/changelog/fix-external-media-connect-url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Significance: patch | ||
Type: bugfix | ||
|
||
External media: Ensured the connect URL has the correct blog ID and verification values. |