1. cubeia
  2. Operator WP Plugin

Commits

Fredrik Johansson  committed f3bf153

Removed URL which includes API Key from error message on fetch online count

  • Participants
  • Parent commits a953c6c
  • Branches default

Comments (0)

Files changed (1)

File classes/online_count.php

View file
  • Ignore whitespace
 				
 				if( is_wp_error( $response ) ) {
 					$error_message = $response->get_error_message();
-					return "Unable to fetch online_count from $online_count_url: $error_message";
+					return "Unable to fetch online_count: $error_message";
 				} 
 				
 				$json = $response["body"];