Changeset 2348609
- Timestamp:
- 07/29/2020 07:19:15 PM (6 years ago)
- Location:
- captain-up/trunk
- Files:
-
- 4 edited
-
README.md (modified) (1 diff)
-
captainup.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
utils.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
captain-up/trunk/README.md
r2265391 r2348609 90 90 91 91 ## Changelog 92 93 ###### 3.0.7 94 95 * Minor bug fixes. 92 96 93 97 ###### 3.0.6 -
captain-up/trunk/captainup.php
r2265391 r2348609 4 4 Plugin URI: https://www.captainup.com 5 5 Description: 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. 66 Version: 3.0.7 7 7 Author: Captain Up Team 8 8 License: GPL2 -
captain-up/trunk/readme.txt
r2265391 r2348609 118 118 == Changelog == 119 119 120 = 3.0.7 = 121 122 * Minor bug fixes. 123 120 124 = 3.0.6 = 121 125 -
captain-up/trunk/utils.php
r1301544 r2348609 57 57 } 58 58 // The URL of the API request to retrieve the app data 59 $api_endpoint = self::get_captain_domain()."/mechanics/v 1/app/".$api_key;59 $api_endpoint = self::get_captain_domain()."/mechanics/v2/app/".$api_key; 60 60 // Send an HTTP request to retrieve the app data 61 61 $data = wp_remote_retrieve_body(wp_remote_get($api_endpoint)); … … 129 129 // @return {String} the URL of the user's avatar 130 130 // 131 function get_avatar_url($user_id) {131 public static function get_avatar_url($user_id) { 132 132 if (function_exists('bp_core_fetch_avatar')) { 133 133 // Tries to fetch a BuddyPress avatar first, it gives back the avatar URL directly.
Note: See TracChangeset
for help on using the changeset viewer.