Skip to content

Ensure that roles array for /sites/$site/users endpoint return an array#7005

Merged
zinigor merged 1 commit intomasterfrom
sync/list-users-endpoint
Apr 21, 2017
Merged

Ensure that roles array for /sites/$site/users endpoint return an array#7005
zinigor merged 1 commit intomasterfrom
sync/list-users-endpoint

Conversation

@zinigor
Copy link
Copy Markdown
Contributor

@zinigor zinigor commented Apr 20, 2017

Because an associative array can be converted to an object, ensure that we only return the array values and not keys.

Merges r135464-wpcom.

…eturn an array

Because an associative array can be converted to an object, ensure that we only return the array values and not keys.

Merges r135464-wpcom.
@zinigor
Copy link
Copy Markdown
Contributor Author

zinigor commented Apr 21, 2017

Master issue: #7026

@zinigor zinigor merged commit 698d2d0 into master Apr 21, 2017
@zinigor zinigor deleted the sync/list-users-endpoint branch April 21, 2017 17:15
@zinigor zinigor removed the [Status] Needs Review This PR is ready for review. label Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants