Plugin Directory

Changeset 2417542


Ignore:
Timestamp:
11/12/2020 10:57:57 PM (5 years ago)
Author:
servicebot
Message:

adds check for Stripe php lib already defined

Location:
servicebot/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • servicebot/trunk/public/class-servicebot-public.php

    r2414019 r2417542  
    11<?php
    22
    3 require_once 'stripe/init.php';
     3if(!class_exists('Stripe\Stripe')){
     4    require_once 'stripe/init.php';
     5}
    46use Stripe\Stripe;
    57use Stripe\Event;
  • servicebot/trunk/servicebot.php

    r2414033 r2417542  
    1717 * Plugin URI:        http://www.wpexplorer.com/servicebot/
    1818 * Description:       This is a short description of what the plugin does. It's displayed in the WordPress admin area.
    19  * Version:           1.1.10
     19 * Version:           1.1.11
    2020 * Author:            Servicebot
    2121 * Author URI:        https://servicebot.io
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'SERVICEBOT_VERSION', '1.1.10' );
     38define( 'SERVICEBOT_VERSION', '1.1.11' );
    3939
    4040/**
Note: See TracChangeset for help on using the changeset viewer.