Plugin Directory

Changeset 2348609


Ignore:
Timestamp:
07/29/2020 07:19:15 PM (6 years ago)
Author:
cptup
Message:

version 3.0.7

Location:
captain-up/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • captain-up/trunk/README.md

    r2265391 r2348609  
    9090
    9191## Changelog
     92
     93###### 3.0.7
     94
     95* Minor bug fixes.
    9296
    9397###### 3.0.6
  • captain-up/trunk/captainup.php

    r2265391 r2348609  
    44Plugin URI: https://www.captainup.com
    55Description: Add Game Mechanics to your site and increase your engagement and retention. 2 minutes install: Simply add your free Captain Up API Key and you are good to go. The plugin also adds widgets you can use to show leaderboards and activities within your site.
    6 Version: 3.0.6
     6Version: 3.0.7
    77Author: Captain Up Team
    88License: GPL2
  • captain-up/trunk/readme.txt

    r2265391 r2348609  
    118118== Changelog ==
    119119
     120= 3.0.7 =
     121
     122* Minor bug fixes.
     123
    120124= 3.0.6 =
    121125
  • captain-up/trunk/utils.php

    r1301544 r2348609  
    5757            }
    5858            // The URL of the API request to retrieve the app data
    59             $api_endpoint = self::get_captain_domain()."/mechanics/v1/app/".$api_key;
     59            $api_endpoint = self::get_captain_domain()."/mechanics/v2/app/".$api_key;
    6060            // Send an HTTP request to retrieve the app data
    6161            $data = wp_remote_retrieve_body(wp_remote_get($api_endpoint));
     
    129129        // @return {String} the URL of the user's avatar
    130130        //
    131         function get_avatar_url($user_id) {
     131        public static function get_avatar_url($user_id) {
    132132            if (function_exists('bp_core_fetch_avatar')) {
    133133                // Tries to fetch a BuddyPress avatar first, it gives back the avatar URL directly.
Note: See TracChangeset for help on using the changeset viewer.