Plugin Directory

Changeset 2844617


Ignore:
Timestamp:
01/06/2023 02:35:57 PM (3 years ago)
Author:
learningtimes
Message:

3.7.1.6

  • Fix: Minor issues.
  • Fix: Compatibility issues with PHP 8.
Location:
badgeos/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • badgeos/trunk/badgeos.php

    r2814433 r2844617  
    55 * Description: BadgeOS lets your site’s users complete tasks and earn badges, ranks, and points that recognize their achievement. Define achievements and choose from a range of options that determine when they're complete. Badges are Mozilla Open Badges (OBI) compatible so the users can easily validate the earned badges.
    66 * Author: LearningTimes
    7  * Version: 3.7.1.5
     7 * Version: 3.7.1.6
    88 * Author URI: https://credly.com/
    99 * License: GNU AGPL
     
    3939     * @var string
    4040     */
    41     public static $version = '3.7.1.5';
     41    public static $version = '3.7.1.6';
    4242
    4343    /**
  • badgeos/trunk/includes/achievement-functions.php

    r2783573 r2844617  
    15261526        $last_points_awarded = $wpdb->get_results(
    15271527            $wpdb->prepare(
    1528                 "SELECT * FROM %s
     1528                "SELECT * FROM {$points_table_name}
    15291529                WHERE type = 'Award'
    15301530                AND user_id = %d
    15311531                AND achievement_id IN (%s)
    15321532                ORDER BY `dateadded` DESC ",
    1533                 $points_table_name,
    15341533                $user_id,
    15351534                $achievement_ids
  • badgeos/trunk/includes/p2p/p2p-admin/dropdown.php

    r2772701 r2844617  
    5353        $args['connected_type'] = key( sanitize_text_field( $_GET['p2p'] ) );
    5454
    55         list( $args['connected_direction'], $args['connected_items'] ) = each( $tmp );
     55        // list( $args['connected_direction'], $args['connected_items'] ) = each( $tmp );
     56        foreach ($tmp as $key => $value) {
     57            $args['connected_direction'] = $key;
     58            $args['connected_items'] = $value;
     59            break;
     60        }
    5661
    5762        if ( ! $args['connected_items'] ) {
  • badgeos/trunk/readme.txt

    r2814433 r2844617  
    44Tags: badge, badges, openbadges, gamification, learningtimes, OBI, mozilla, open badges, achievement, points, ranks, award, reward, engagement, submission, nomination, API, open credit, credit
    55Requires at least: 4.0
    6 Tested up to: 6.1
    7 Stable tag: 3.7.1.5
     6Tested up to: 6.1.1
     7Stable tag: 3.7.1.6
    88License: GNU AGPLv3
    99License URI: http://www.gnu.org/licenses/agpl-3.0.html
     
    201201== Changelog ==
    202202
     203= 3.7.1.6 =
     204* Fix: Minor issues.
     205* Fix: Compatibility issues with PHP 8.
     206
    203207= 3.7.1.5 =
    204208* New: Shortcode/block to show BadgeOS user dashboard.
Note: See TracChangeset for help on using the changeset viewer.