Plugin Directory

Changeset 701567


Ignore:
Timestamp:
04/22/2013 01:05:20 PM (13 years ago)
Author:
echoelse
Message:

Removed deprecated 4th argument of premise_membership_create_order action

Location:
premise-idevaffiliate-integration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • premise-idevaffiliate-integration/trunk/premise-idevaffiliate.php

    r665536 r701567  
    44Plugin URI: http://www.eugenoprea.com/wordpress-plugins/premise-idevaffiliate-integration/?utm_source=wp_admin&utm_medium=plugin&utm_campaign=premise_idevaffiliate_integration
    55Description: Integrates Premise with iDevAffiliate to help you start your affiliate program. It passes the order details and if you activate Optional Variables it will also pass the customer name, email address and the purchased product to iDevAffiliate.
    6 Version: 1.0
     6Version: 1.0.1
    77Author: Eugen Oprea
    88Author URI: http://www.eugenoprea.com/?utm_source=wp_admin&utm_medium=plugin&utm_campaign=premise_idevaffiliate_integration
     
    3434
    3535        if (isset($this->options['enabled']) && $this->options['enabled']) {
    36             add_action('premise_membership_create_order', array($this, 'get_order_data'), 10, 4);
     36            add_action('premise_membership_create_order', array($this, 'get_order_data'), 10, 3);
    3737            add_action('premise_checkout_complete_after', array($this, 'track'), 10);
    3838        }
     
    4646    }
    4747
    48     function get_order_data($member_id, $order_details, $renewal, $order_id) {
     48    function get_order_data($member_id, $order_details, $renewal) {
    4949        $this->order_data = array(
    50             'ordernum' => get_the_title($order_id),
     50            'ordernum' => $order_details['_acp_order_time'],
    5151            'salemt' => $order_details['_acp_order_price'] ? $order_details['_acp_order_price'] : 0,
    5252        );
  • premise-idevaffiliate-integration/trunk/readme.txt

    r665536 r701567  
    55Requires at least: 3.0
    66Tested up to: 3.5.1
    7 Stable tag: 1.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4444== Changelog ==
    4545
     46= 1.0.1 =
     47Remove deprecated 4th argument of premise_membership_create_order action
     48
    4649= 1.0 =
    4750
Note: See TracChangeset for help on using the changeset viewer.