Plugin Directory

Changeset 2820884


Ignore:
Timestamp:
11/19/2022 01:16:48 PM (3 years ago)
Author:
er.viveksharma2008
Message:

Update for latest WordPress Compatiblity

Location:
bp-group-analytics/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bp-group-analytics/trunk/history.txt

    r2156086 r2820884  
    44-1.1-
    55Update according to the latest version of WordPress and BuddyPress
     6
     7-1.2-
     8Update according to the latest version of WordPress and BuddyPress
  • bp-group-analytics/trunk/include/admin.php

    r2156086 r2820884  
    3333    if(!empty($xprofile_selected_fields_value))
    3434        $xprofile_selected_fields = explode(",",$xprofile_selected_fields_value);
    35 
    3635    $profile_groups = BP_XProfile_Group::get( array( 'fetch_fields' => true ) );
    3736
     
    5756                                    if ( !empty( $profile_group->fields ) ) {
    5857                                        foreach ( $profile_group->fields as $field ) {
    59                                             if(in_array($field->id, $xprofile_selected_fields)){
     58                                            if(in_array($field->id.'|'.$field->name, $xprofile_selected_fields)){
    6059                                                echo '<option selected="selected" value="'.$field->id.'|'.$field->name. '">' . $field->name . '</option> ';
    6160                                            } else {
  • bp-group-analytics/trunk/loader.php

    r2156086 r2820884  
    66
    77  Description: BP Group Analytics.
    8   Version: 1.1
    9   Revision Date: September 13,2019
     8  Version: 1.2
     9  Revision Date: November 17,2022
    1010  Requires at least: WP 3.5.1, BuddyPress 1.6.5
    11   Tested up to: WP 5.2.3, BuddyPress 4.4.0
     11  Tested up to: WP 6.1, BuddyPress 10.6.0
    1212  License:  GNU General Public License 3.0 or newer (GPL) http://www.gnu.org/licenses/gpl.html
    1313  Author: Vivek Sharma
     
    2020
    2121//some constants that can be checked when extending this plugin
    22 define('BP_GROUP_ANALYTICS_IS_INSTALLED', 1.1);
    23 define('BP_GROUP_ANALYTICS_VERSION', '1.1');
     22define('BP_GROUP_ANALYTICS_IS_INSTALLED', 1.2);
     23define('BP_GROUP_ANALYTICS_VERSION', '1.2');
    2424
    2525
  • bp-group-analytics/trunk/readme.txt

    r2221566 r2820884  
    22Contributors: erviveksharma2008
    33Tags: BuddyPress, group, xprofile fields, plugin, charts
    4 Version: 1.1
    5 Revision Date: September 13, 2019
     4Version: 1.2
     5Revision Date: November 17, 2022
    66Requires at least: 3.5.1
    7 Tested up to: 5.3.2
     7Tested up to: 6.1
    88Requires PHP: 7.2
    99License:  GNU General Public License 3.0 or newer (GPL) http://www.gnu.org/licenses/gpl.html
Note: See TracChangeset for help on using the changeset viewer.