Plugin Directory

Changeset 1994885


Ignore:
Timestamp:
12/14/2018 02:20:49 PM (7 years ago)
Author:
inveo
Message:

1.6.00 release

Location:
wp-integration/tags/1.6.00
Files:
4 copied

Legend:

Unmodified
Added
Removed
  • wp-integration/tags/1.6.00/readme.txt

    r1589517 r1994885  
    33Tags: ecommerce, e-commerce, commerce, wordpress ecommerce, prestashop, integration, connector, store, sales, sell, shop, shopping, cart, checkout,
    44Requires at least: 2.7
    5 Tested up to: 4.7
    6 Stable tag: 1.5.00
     5Tested up to: 5.0
     6Stable tag: 1.6.00
    77License: LGPLv2.1
    88License URI: http://www.gnu.org/licenses/lgpl-2.1.html
     
    5555
    5656== Changelog ==
     57
     58= 1.6.00 =
     59* compatibility issues were resolved
    5760
    5861= 1.5.00 =
  • wp-integration/tags/1.6.00/wp-integration.php

    r1589517 r1994885  
    33 *  @package   Theme_Provider_Connector_for_WP
    44 *  @author    Inveo s.r.o. <inqueries@inveoglobal.com>
    5  *  @copyright 2009-2016 Inveo s.r.o.
     5 *  @copyright 2009-2018 Inveo s.r.o.
    66 *  @license   LGPLv2.1
    77 */
     
    1111 * Plugin URI: http://www.inveostore.com
    1212 * Description: Integrates Wordpress to any application with just one simple click.
    13  * Version: 1.5.00
     13 * Version: 1.6.00
    1414 * Author: Inveo s.r.o.
    1515 * Author URI: http://www.inveostore.com
     
    2020if(!function_exists('add_action'))
    2121{
    22     echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
    23     exit();
     22    echo 'Hi there! I\'m just a WordPress plugin, not much I can do when called directly.';
     23    return;
    2424}
    2525
     
    3232define('THEMEPROVIDER_CONN_APP', 'WordPress');
    3333define('THEMEPROVIDER_CONN_APPABBR', 'WP');
    34 define('THEMEPROVIDER_CONN_NAME', THEMEPROVIDER_CONN_APP.' integration');
    35 define('THEMEPROVIDER_CONN_NAME_ABBR', THEMEPROVIDER_CONN_APPABBR.' integration');
     34define('THEMEPROVIDER_CONN_NAME', THEMEPROVIDER_CONN_APP.' Integration');
     35define('THEMEPROVIDER_CONN_NAME_ABBR', THEMEPROVIDER_CONN_APPABBR.' Integration');
    3636
    3737if(WebAppsDetector::providerFound())
     
    116116
    117117    if(isset($_GET[strtolower(THEMEPROVIDER_CONN_APP).'_constyle']) && WebAppsDetector::providerIsAdvance())
     118    {
    118119        add_action('init', array('Wpcon', 'wpCss'));
    119 
     120    }
    120121}
    121122
     
    187188        add_action('admin_notices', array('Wpcon', 'no_required_wp'));
    188189    }
    189 } else {
    190     if(defined('THEMEPROVIDER_INIT') && basename($_SERVER['SCRIPT_NAME']) == 'index.php')
    191         add_action('init', array('Wpcon', 'wpInit'));
     190} elseif(defined('THEMEPROVIDER_INIT') && !defined('XMLRPC_REQUEST') && !defined('REST_REQUEST') && !defined('WP_INSTALLING') && !wp_doing_ajax() && !wp_is_json_request()) {
     191    add_action('init', array('Wpcon', 'wpInit'));
    192192}
    193193
     
    502502        });
    503503       
    504         animateDescription = function() {
     504        var animateDescription = function() {
    505505            var idAr = ['1', '2', '3'];
    506506            for (index = 0; index < idAr.length; ++index) {
     
    562562$modes = Wpcon::modes();
    563563$radioAr = array();
    564 foreach($modes as $mid => $mname)
     564foreach($modes as $mid => $mname) {
    565565    $radioAr[] = '<label><input name="wpcon_options[mode]" type="radio" value="'.(int)$mid.'" id="wpcon_mode'.$mid.'" '.checked($mid, $options['mode'], false).' '.disabled(($mid != 1 && !WebAppsDetector::providerIsAdvance()), true, false).' class="wpcon_mode" />'.__($mname['name'], 'wpcon').' <strong>'.__($mname['desc'], 'wpcon').'</strong></label>';
     566}
    566567echo implode('<br />'."\n", $radioAr);
    567568
     
    647648<?php
    648649    }
    649 
    650650}
    651651
Note: See TracChangeset for help on using the changeset viewer.