diff --git a/functions.php b/functions.php index fb5a01e..b643477 100644 --- a/functions.php +++ b/functions.php @@ -5273,7 +5273,7 @@ function argon_get_duolingo_data($force_refresh = false) { } } - $url = 'https://www.duolingo.com/2017-06-30/users?username=' . urlencode($username) . '&fields=streak,streakData%7BcurrentStreak,previousStreak%7D'; + $url = 'https://www.duolingo.com/2017-06-30/users?username=' . urlencode($username) . '&fields=users%7Bstreak,streakData%7BcurrentStreak,previousStreak%7D%7D'; $response = wp_remote_get($url, array( 'timeout' => 15, diff --git a/functions_original.php b/functions_original.php deleted file mode 100644 index bec1792..0000000 Binary files a/functions_original.php and /dev/null differ diff --git a/settings.php b/settings.php index 9d56303..9d1ebbe 100644 --- a/settings.php +++ b/settings.php @@ -1521,7 +1521,7 @@ function themeoptions_page(){