Plugin Directory

Changeset 1644954


Ignore:
Timestamp:
04/25/2017 01:33:52 PM (9 years ago)
Author:
loushou
Message:
  • [tweak] more changes to resolve WC3 compatibility issues, when OTCE is used with extensions

loushou

Location:
opentickets-community-edition/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • opentickets-community-edition/trunk/inc/sys/core-hacks.class.php

    r1614433 r1644954  
    115115
    116116    public static function do_not_process_product($is, $product, $order_id) {
    117         if (get_post_meta($product->id, '_no_processing', true) == 'yes') $is = false;
     117        if (get_post_meta( QSOT_WC3()->product_data( $product, 'id' ), '_no_processing', true) == 'yes') $is = false;
    118118        return $is;
    119119    }
  • opentickets-community-edition/trunk/inc/sys/wc3.php

    r1634310 r1644954  
    210210        // if is wc3, use the function
    211211        if ( $this->is_wc3() ) {
    212             return call_user_func( array( &$this, 'get_' . $key ) );
     212            return call_user_func( array( &$product, 'get_' . $key ) );
    213213        }
    214214
  • opentickets-community-edition/trunk/inc/ticket/product.class.php

    r1634310 r1644954  
    201201    // when tickets are purchased, they do not need to be 'processing'. thus, if the order is for only tickets, the order should go straight to completed after payment is received
    202202    public static function tickets_dont_need_processing( $needs, $product, $order_id ) {
    203         if ( get_post_meta( $product->id, '_ticket', true ) == 'yes' )
     203        if ( get_post_meta( QSOT_WC3()->product_data( $product, 'id' ), '_ticket', true ) == 'yes' )
    204204            $needs = false;
    205205        return $needs;
  • opentickets-community-edition/trunk/launcher.php

    r1634310 r1644954  
    44 * Plugin URI:  http://opentickets.com/
    55 * Description: Event Management and Online Ticket Sales Platform
    6  * Version:     2.8.0
     6 * Version:     2.8.1
    77 * Author:      Quadshot Software LLC
    88 * Author URI:  http://quadshot.com/
     
    5555            'fctm' => 'fc',
    5656            'always_reserve' => 0,
    57             'version' => '2.8.0',
     57            'version' => '2.8.1',
    5858            'min_wc_version' => '2.6.14',
    5959            'core_post_type' => 'qsot-event',
  • opentickets-community-edition/trunk/readme.txt

    r1634310 r1644954  
    171171
    172172== Changelog ==
     173
     174= 2.8.1 - Apr/10/2017 =
     175* [tweak] more changes to resolve WC3 compatibility issues, when OTCE is used with extensions
    173176
    174177= 2.8.0 - Apr/10/2017 =
Note: See TracChangeset for help on using the changeset viewer.