private function create_contributors( $users ) {
		global $wp_version;
		$contributors = [];
		foreach ( (array) $users as $contributor ) {
			$contributors[ $contributor ]['display_name'] = $contributor;
			$contributors[ $contributor ]['profile']      = '//profiles.wordpress.org/' . $contributor;
			$contributors[ $contributor ]['avatar']       = 'https://wordpress.org/grav-redirect.php?user=' . $contributor;
			if ( version_compare( $wp_version, '5.1-alpha', '<' ) ) {
				$contributors[ $contributor ] = '//profiles.wordpress.org/' . $contributor;
			}
		}

		return $contributors;
	}
private function create_contributors( $users ) {
		global $wp_version;
		$contributors = [];
		foreach ( (array) $users as $contributor ) {
			$contributors[ $contributor ]['display_name'] = $contributor;
			$contributors[ $contributor ]['profile']      = '//profiles.wordpress.org/' . $contributor;
			$contributors[ $contributor ]['avatar']       = 'https://wordpress.org/grav-redirect.php?user=' . $contributor;
			if ( version_compare( $wp_version, '5.1-alpha', '<' ) ) {
				$contributors[ $contributor ] = '//profiles.wordpress.org/' . $contributor;
			}
		}

		return $contributors;
	}
private function create_contributors ( $ users ) { global $ wp_version ; $ contributors = [ ] ; foreach ( ( array ) $ users as $ contributor ) { $ contributors [ $ contributor ] [ 'display_name' ] = $ contributor ; $ contributors [ $ contributor ] [ 'profile' ] = '//profiles.wordpress.org/' . $ contributor ; $ contributors [ $ contributor ] [ 'avatar' ] = 'https://wordpress.org/grav-redirect.php?user=' . $ contributor ; if ( version_compare ( $ wp_version , '5.1-alpha' , '<' ) ) { $ contributors [ $ contributor ] = '//profiles.wordpress.org/' . $ contributor ; } } return $ contributors ; }
Create contributor data.

@param array $users

@return array $contributors
Create contributor data .