Plugin Directory

Changeset 1802168


Ignore:
Timestamp:
01/13/2018 02:02:13 AM (8 years ago)
Author:
MikeGillihan
Message:

fix account module bb settings

Location:
bb-connect-for-give-donations/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bb-connect-for-give-donations/trunk/bb-connect-give.php

    r1667282 r1802168  
    44 * Plugin URI: https://wordpress.org/plugins/bb-connect-for-give-donations/
    55 * Description: Easily integrate Give Donations with Beaver Builder.
    6  * Version: 2.1
     6 * Version: 2.2
    77 * Author: PurposeWP
    88 * Author URI: https://purposewp.com
  • bb-connect-for-give-donations/trunk/modules/bbc-give-account/bbc-give-account.php

    r1667282 r1802168  
    44 * @class  BBC_Give_Account
    55 * @since  2.0
    6  * @credit The Beaver Builder (https://beaverbuilder.com) team for the Tabs module which is what we based  this upon and the team at UABB (https://www.ultimatebeaver.com) for their clever implementation of toggle fields.
     6 * @credit The Beaver Builder (https://beaverbuilder.com) team for the Tabs module which is what we based this upon and the team at UABB (https://www.ultimatebeaver.com) for their clever implementation of toggle fields.
    77 */
    88class BBC_Give_Account extends FLBuilderModule {
     
    1818            'partial_refresh' => true
    1919        ) );
    20 
    21         $this->add_css( 'font-awesome' );
    2220    }
    2321
     
    2826     */
    2927    public static function bbc_do_subscriptions() {
    30         if ( !class_exists( 'Give_Recurring' ) ) {
    31             return;
     28        $settings = array();
     29
     30        if ( ! class_exists( 'Give_Recurring' ) ) {
     31            return $settings;
    3232        }
    3333
     
    4141                'false' => __( 'Hide', 'bbc-give' ),
    4242            ),
    43             'help'    => __( 'Displays the Subscriptions tab. Default is “Hide”', 'bbc-give' )
     43            'help'        => __( 'Displays the Subscriptions tab. Default is “Hide”', 'bbc-give' )
    4444        );
    4545
     
    7979                            'false' => __( 'Hide', 'bbc-give' ),
    8080                        ),
    81                         'help'    => __( 'Displays the Profile Editor tab. Default is “Show”', 'bbc-give' )
     81                        'help'        => __( 'Displays the Profile Editor tab. Default is “Show”', 'bbc-give' )
    8282                    ),
    8383                    'history'       => array(
     
    9090                            'false' => __( 'Hide', 'bbc-give' ),
    9191                        ),
    92                         'help'    => __( 'Displays the Donation History tab. Default is “Show”', 'bbc-give' )
     92                        'help'        => __( 'Displays the Donation History tab. Default is “Show”', 'bbc-give' )
    9393                    ),
    9494                    'subscriptions' => BBC_Give_Account::bbc_do_subscriptions(),
  • bb-connect-for-give-donations/trunk/readme.txt

    r1667282 r1802168  
    33Tags: beaver builder, give, donations, nonprofits, fundraising
    44Requires at least: 4.4
    5 Tested up to: 4.7.5
    6 Stable tag: 2.1
     5Tested up to: 4.9.2
     6Stable tag: 2.2
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    6464== Changelog ==
    6565
     66= [2.2] - 2018-01-12 =
     67* Bug Fix: Fixed bug preventing account module settings panel from loading
     68
    6669= [2.1] - 2017-05-30 =
    6770* Enhancement: The Account Details module now supports Give subscriptions
Note: See TracChangeset for help on using the changeset viewer.