-
Notifications
You must be signed in to change notification settings - Fork 808
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comments API: Add wpcom user fields option for Jetpack sites (#41254)
* Comments API: Add wpcom_id and wpcom_login fields to response * changelog * Move fields to the author object * Introduce optional author_wpcom_data parameter * Update comments * Update changelog * Check for empty id * Populate wpcom data for simple sites * Update changelog * Apply suggestions from code review Simplify code. Co-authored-by: Jeremy Herve <jeremy@jeremy.hu> * Check for simple site first --------- Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
- Loading branch information
1 parent
3bfae29
commit 861a579
Showing
3 changed files
with
39 additions
and
9 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
projects/plugins/jetpack/changelog/add-comment-endpoint-wpcom-user-fields
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: minor | ||
Type: other | ||
|
||
Comments API: Add wpcom_id and wpcom_login fields to comment author responses when requested via author_wpcom_data parameter. |
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
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