Changeset 1994885
- Timestamp:
- 12/14/2018 02:20:49 PM (7 years ago)
- Location:
- wp-integration/tags/1.6.00
- Files:
-
- 4 copied
-
. (copied) (copied from wp-integration/trunk)
-
WebAppsDetector.php (copied) (copied from wp-integration/trunk/WebAppsDetector.php)
-
readme.txt (copied) (copied from wp-integration/trunk/readme.txt) (2 diffs)
-
wp-integration.php (copied) (copied from wp-integration/trunk/wp-integration.php) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-integration/tags/1.6.00/readme.txt
r1589517 r1994885 3 3 Tags: ecommerce, e-commerce, commerce, wordpress ecommerce, prestashop, integration, connector, store, sales, sell, shop, shopping, cart, checkout, 4 4 Requires at least: 2.7 5 Tested up to: 4.76 Stable tag: 1. 5.005 Tested up to: 5.0 6 Stable tag: 1.6.00 7 7 License: LGPLv2.1 8 8 License URI: http://www.gnu.org/licenses/lgpl-2.1.html … … 55 55 56 56 == Changelog == 57 58 = 1.6.00 = 59 * compatibility issues were resolved 57 60 58 61 = 1.5.00 = -
wp-integration/tags/1.6.00/wp-integration.php
r1589517 r1994885 3 3 * @package Theme_Provider_Connector_for_WP 4 4 * @author Inveo s.r.o. <inqueries@inveoglobal.com> 5 * @copyright 2009-201 6Inveo s.r.o.5 * @copyright 2009-2018 Inveo s.r.o. 6 6 * @license LGPLv2.1 7 7 */ … … 11 11 * Plugin URI: http://www.inveostore.com 12 12 * Description: Integrates Wordpress to any application with just one simple click. 13 * Version: 1. 5.0013 * Version: 1.6.00 14 14 * Author: Inveo s.r.o. 15 15 * Author URI: http://www.inveostore.com … … 20 20 if(!function_exists('add_action')) 21 21 { 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; 24 24 } 25 25 … … 32 32 define('THEMEPROVIDER_CONN_APP', 'WordPress'); 33 33 define('THEMEPROVIDER_CONN_APPABBR', 'WP'); 34 define('THEMEPROVIDER_CONN_NAME', THEMEPROVIDER_CONN_APP.' integration');35 define('THEMEPROVIDER_CONN_NAME_ABBR', THEMEPROVIDER_CONN_APPABBR.' integration');34 define('THEMEPROVIDER_CONN_NAME', THEMEPROVIDER_CONN_APP.' Integration'); 35 define('THEMEPROVIDER_CONN_NAME_ABBR', THEMEPROVIDER_CONN_APPABBR.' Integration'); 36 36 37 37 if(WebAppsDetector::providerFound()) … … 116 116 117 117 if(isset($_GET[strtolower(THEMEPROVIDER_CONN_APP).'_constyle']) && WebAppsDetector::providerIsAdvance()) 118 { 118 119 add_action('init', array('Wpcon', 'wpCss')); 119 120 } 120 121 } 121 122 … … 187 188 add_action('admin_notices', array('Wpcon', 'no_required_wp')); 188 189 } 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')); 192 192 } 193 193 … … 502 502 }); 503 503 504 animateDescription = function() {504 var animateDescription = function() { 505 505 var idAr = ['1', '2', '3']; 506 506 for (index = 0; index < idAr.length; ++index) { … … 562 562 $modes = Wpcon::modes(); 563 563 $radioAr = array(); 564 foreach($modes as $mid => $mname) 564 foreach($modes as $mid => $mname) { 565 565 $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 } 566 567 echo implode('<br />'."\n", $radioAr); 567 568 … … 647 648 <?php 648 649 } 649 650 650 } 651 651
Note: See TracChangeset
for help on using the changeset viewer.