Skip to content

Conversation

@boonebgorges
Copy link
Contributor

When filling user names using get_users(), the default WP behavior is to pull users who have a role on the current site. If H5P is running on a specific site in a Multisite network, and if a logged-in user interacts with a piece of H5P content but that user does not have a role on the specific site where H5P is active, then the user's name will be left blank in the Dashboard 'Results' views. The proposed change tells WP to pull up the user corresponding to the provided user_id, regardless of whether that user has a role on the current site.

On Multisite installations, the user_ids in H5P results may correspond to network
users who are not members of the current site. The proposed change tells WP
to pull data corresponding to these user_ids, regardless of whether they have
a role on the current site.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant