Plugin Directory

Changeset 1089056


Ignore:
Timestamp:
02/13/2015 02:16:54 PM (11 years ago)
Author:
rossdev
Message:

Fixed update error for missing WPF_WC

Location:
wpf-woocommerce/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpf-woocommerce/trunk/README.txt

    r1089040 r1089056  
    7979== Changelog ==
    8080
     81= 2.5.2 =
     82* Fixed update error for missing WPF_WC.
     83
    8184= 2.5.1 =
    8285* Fixed double quote error during checkout.
  • wpf-woocommerce/trunk/wpf-woocommerce.php

    r1089040 r1089056  
    44Plugin URI: http://wordpress.org/plugins/wpf-woocommerce/
    55Description: wpFortify provides a hosted SSL checkout page for Stripe payments. A free wpFortify account is required for this plugin to work.
    6 Version: 2.5.1
     6Version: 2.5.2
    77Author: wpFortify
    88Author URI: https://wpfortify.com
     
    2828     */
    2929    public function __construct() {
    30         define( 'WPF_WC_GATEWAY_VERSION', '2.5.1' );
     30        define( 'WPF_WC_GATEWAY_VERSION', '2.5.2' );
    3131        define( 'WPF_WC_GATEWAY_TEMPLATE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) . '/templates/' );
    3232        define( 'WPF_WC_GATEWAY_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
     
    118118     */
    119119    public function wpf_callback() {
    120         $wpfortify = new WPF_WC();
    121         return $wpfortify->wpf_listen();
     120        if ( class_exists('WPF_WC') ) {
     121            $wpfortify = new WPF_WC();
     122            return $wpfortify->wpf_listen();
     123        }
    122124    }
    123125
Note: See TracChangeset for help on using the changeset viewer.