Plugin Directory

Changeset 2448358


Ignore:
Timestamp:
12/31/2020 06:49:06 AM (5 years ago)
Author:
webinnane
Message:
  • Fixed: Corrected the key for recurring payment enable.
  • Updated: Webinane Commerce.
Location:
lifeline-donation/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • lifeline-donation/trunk/config/donation_settings.php

    r2410287 r2448358  
    9595        Switcher::make(
    9696            esc_html__( 'Enable recurring payments', 'lifeline-donation' ),
    97             'donation_custom_amount'
     97            'donation_recurring_payments'
    9898        )->setHelp(esc_html__( 'Enable recurring payments', 'lifeline-donation' ))
    9999        ->withMeta(array(
  • lifeline-donation/trunk/languages/lifeline-donation.pot

    r2440499 r2448358  
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/lifeline-donation\n"
    8 "POT-Creation-Date: 2020-12-16 09:58:32+00:00\n"
     8"POT-Creation-Date: 2020-12-31 06:24:09+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
  • lifeline-donation/trunk/lifeline-donation.php

    r2440499 r2448358  
    88 * Text Domain:     lifeline-donation
    99 * Domain Path:     /languages
    10  * Version:         1.2.3
     10 * Version:         1.2.4
    1111 *
    1212 * @package         Lifeline_Donation
  • lifeline-donation/trunk/readme.txt

    r2440499 r2448358  
    44Tags: giving, donation, charity, ngo, nonprofit, non profit
    55Requires at least: 5.0
    6 Tested up to: 5.5
    7 Stable tag: 1.2.3
     6Tested up to: 5.6
     7Stable tag: 1.2.4
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    7878== Changelog ==
    7979
     80= Version 1.2.4 =
     81- Fixed: Corrected the key for recurring payment enable.
     82- Updated: Webinane Commerce.
     83
    8084= Version 1.2.3 =
    8185- Fixed: Donation success page, label replaced with Donation.
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Emails.php

    r2440499 r2448358  
    1818        add_action('wpcommerce_order_action_email_invoice', array(__CLASS__, 'email_invoice'), 10, 2);
    1919
    20         // add_action('wpcm_owner_new_order_email', array(__CLASS__, 'owner_email_template'), 10, 2);
     20        add_action('wpcm_owner_new_order_email', array(__CLASS__, 'owner_email_template'), 10, 2);
    2121    }
    2222
     
    5050        $email = get_option('admin_email');
    5151        return array(
    52             'From: '.$name.' <'.$email.'>',
     52            'From: '.$name.' < '.$email.' >',
    5353            'Content-Type: text/html; charset=UTF-8',
    5454        );
  • lifeline-donation/trunk/webinane-commerce/includes/Classes/Webinane.php

    r2440499 r2448358  
    5959
    6060        // Creating table whenever a new blog is created
    61         add_action( 'wpmu_new_blog', [__CLASS__, 'network_create'], 10, 6);
     61        add_action( 'wp_insert_site', [__CLASS__, 'network_create'], 10);
    6262
    6363        // Deleting the table whenever a blog is deleted
     
    173173     * @return [type]          [description]
    174174     */
    175     static function network_create( $blog_id, $user_id, $domain, $path, $site_id, $meta ) {
     175    static function network_create( $wp_site ) {
    176176        $current_plugin_path_name = plugin_basename( WNCM_FILE );
    177177        if ( is_plugin_active_for_network( $current_plugin_path_name ) ) {
    178             switch_to_blog( $blog_id );
     178            switch_to_blog( $wp_site->blog_id );
    179179            \WebinaneCommerce\Admin\Install::init(true);
    180180            restore_current_blog();
  • lifeline-donation/trunk/webinane-commerce/readme.txt

    r2440499 r2448358  
    148148You can find the detailed documentation about developing extensions and payment gateways [http://plugins.webinane.com/docs/WP-commerce-documentation/](http://plugins.webinane.com/docs/WP-commerce-documentation/)
    149149
     150Want to hire us, [Please visit](https://www.webinane.com/tasks/new)
     151
    150152== Credits ==
    151153- The plugin uses vuejs components from [Element UI](https://element.eleme.io/#/en-US/component/quickstart)
     
    168170
    169171== Changelog ==
     172**Version 2.2.4**
     173- Fixed: Donation success page, label replaced with Donation.
     174- Fixed: Admin donations donor address issue.
     175- Fixed: Admin donations, Donation detail issue is fixed.
     176
    170177**Version 2.2.3**
    171178- Added: Settings to manage email Templates
  • lifeline-donation/trunk/webinane-commerce/templates/emails/layouts/template.php

    r2427727 r2448358  
    6262                                                <td align="left" valign="top">
    6363                                                    <span style="font-family: 'Barlow', sans-serif; color: #8b8b8b; font-weight: 500; font-size: 15px;">{{price_label}}</span>
    64                                                     <span style="font-family: 'Barlow', sans-serif; color: #1aa0e6; font-weight: 600; font-size: 20px;">{{order_total}}</span>
     64                                                    <span style="font-family: 'Barlow', sans-serif; color: #1aa0e6; font-weight: 600; font-size: 20px;">{{total_amount}}</span>
    6565                                                </td>
    6666                                            </tr>
  • lifeline-donation/trunk/webinane-commerce/webinane-commerce.php

    r2440499 r2448358  
    1717 */
    1818function webincom_load_textdomain() {
    19     load_plugin_textdomain( 'webinane-commerce', false, basename( dirname( __FILE__ ) ) . '/languages' );
     19    load_plugin_textdomain( 'lifeline-donation', false, basename( dirname( __FILE__ ) ) . '/languages' );
    2020}
     21
     22add_action( 'plugins_loaded', 'webincom_load_textdomain' );
     23
    2124
    2225// Include the main WPCommerce class.
Note: See TracChangeset for help on using the changeset viewer.