Plugin Directory

Changeset 3358055


Ignore:
Timestamp:
09/08/2025 04:49:36 PM (6 months ago)
Author:
ShopSite
Message:

Fix for ShopSite 15.0

Location:
shopsite-plugin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • shopsite-plugin/tags/1.5.11/readme.txt

    r3226545 r3358055  
    44Tags: e-commerce, shopping, shopsite
    55Requires at least: 3.2.0
    6 Tested up to: 6.7
     6Tested up to: 6.8
    77Stable tag: 1.5.11
     8License: GPLv2
    89
    910Add a free ShopSite shopping cart to your WordPress site and start taking orders today!
  • shopsite-plugin/tags/1.5.11/shopsite.php

    r3226553 r3358055  
    9393
    9494function link_tutorial() {
    95 ?><script>var $ = jQuery;</script><script src="<?php echo plugin_dir_url(__FILE__); ?>jquery.tutorial.js"></script><script src="<?php echo plugin_dir_url(__FILE__); ?>tutorial_driver.js"></script><link rel="stylesheet" href="<?php echo plugin_dir_url(__FILE__); ?>shopsite.css" type="text/css" />
     95  $pluginDirUrl = plugin_dir_url(__FILE__);
     96?><script>var $ = jQuery;</script><script src="<?= $pluginDirUrl ?>jquery.tutorial.js"></script><script src="<?= $pluginDirUrl ?>tutorial_driver.js"></script><link rel="stylesheet" href="<?= $pluginDirUrl ?>shopsite.css" type="text/css" />
    9697<?php
    9798}
     
    102103}
    103104
    104 //add_action( 'admin_enqueue_scripts', 'link_jquery' );
     105function is_block_editor() {
     106    return function_exists('is_gutenberg_page') && is_gutenberg_page();
     107}
     108
    105109add_action( 'admin_head', 'link_tutorial' );
    106110add_action( 'admin_head', 'link_ss_path' );
     
    672676        return $test_download_xml;
    673677
    674     $res = get_url(get_option('ss_shopsite_url'));
     678    $res = get_url(get_option('ss_shopsite_url') . '&test-connection-wp=1');
    675679    if ($res[0] == false)
    676680        return array("success"=>false, "error"=>$res[1]);
  • shopsite-plugin/trunk/readme.txt

    r3226545 r3358055  
    44Tags: e-commerce, shopping, shopsite
    55Requires at least: 3.2.0
    6 Tested up to: 6.7
     6Tested up to: 6.8
    77Stable tag: 1.5.11
    88
  • shopsite-plugin/trunk/shopsite.php

    r3226553 r3358055  
    672672        return $test_download_xml;
    673673
    674     $res = get_url(get_option('ss_shopsite_url'));
     674    $res = get_url(get_option('ss_shopsite_url') . '&test-connection-wp=1');
    675675    if ($res[0] == false)
    676676        return array("success"=>false, "error"=>$res[1]);
Note: See TracChangeset for help on using the changeset viewer.