Version Description
- 2018-05-29 =
- Fixed opt-in/opt-out links
Download this release
Release Info
Developer | jablonowski |
Plugin | Flexible Shipping for WooCommerce |
Version | 2.1.3 |
Comparing to | |
See all releases |
Code changes from version 2.1.2 to 2.1.3
- classes/tracker.php +3 -1
- flexible-shipping.php +3 -2
- inc/wpdesk-tracker/views/tracker-styles.php +5 -0
- readme.txt +4 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +1 -1
classes/tracker.php
CHANGED
@@ -5,6 +5,8 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
5 |
if ( ! class_exists( 'WPDesk_Flexible_Shipping_Tracker' ) ) {
|
6 |
class WPDesk_Flexible_Shipping_Tracker {
|
7 |
|
|
|
|
|
8 |
public static $script_version = '11';
|
9 |
|
10 |
public function __construct() {
|
@@ -16,7 +18,7 @@ if ( ! class_exists( 'WPDesk_Flexible_Shipping_Tracker' ) ) {
|
|
16 |
add_filter( 'wpdesk_tracker_notice_screens', array( $this, 'wpdesk_tracker_notice_screens' ) );
|
17 |
add_filter( 'wpdesk_track_plugin_deactivation', array( $this, 'wpdesk_track_plugin_deactivation' ) );
|
18 |
|
19 |
-
add_filter(
|
20 |
add_action( 'activated_plugin', array( $this, 'activated_plugin' ), 10, 2 );
|
21 |
}
|
22 |
|
5 |
if ( ! class_exists( 'WPDesk_Flexible_Shipping_Tracker' ) ) {
|
6 |
class WPDesk_Flexible_Shipping_Tracker {
|
7 |
|
8 |
+
const PLUGIN_ACTION_LINKS_FILTER_NAME = 'plugin_action_links_flexible-shipping/flexible-shipping.php';
|
9 |
+
|
10 |
public static $script_version = '11';
|
11 |
|
12 |
public function __construct() {
|
18 |
add_filter( 'wpdesk_tracker_notice_screens', array( $this, 'wpdesk_tracker_notice_screens' ) );
|
19 |
add_filter( 'wpdesk_track_plugin_deactivation', array( $this, 'wpdesk_track_plugin_deactivation' ) );
|
20 |
|
21 |
+
add_filter( self::PLUGIN_ACTION_LINKS_FILTER_NAME, array( $this, 'plugin_action_links' ) );
|
22 |
add_action( 'activated_plugin', array( $this, 'activated_plugin' ), 10, 2 );
|
23 |
}
|
24 |
|
flexible-shipping.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Flexible Shipping
|
4 |
Plugin URI: https://wordpress.org/plugins/flexible-shipping/
|
5 |
Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
|
6 |
-
Version: 2.1.
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-shipping
|
@@ -36,11 +36,12 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
36 |
exit;
|
37 |
} // Exit if accessed directly
|
38 |
|
39 |
-
$plugin_version = '2.1.
|
40 |
|
41 |
define( 'FLEXIBLE_SHIPPING_VERSION', $plugin_version );
|
42 |
|
43 |
require_once( dirname( __FILE__ ) . '/classes/wpdesk/class-requirement-checker.php' );
|
|
|
44 |
|
45 |
$requirements_checker = new WPDesk_Requirement_Checker_1_10(
|
46 |
__FILE__,
|
3 |
Plugin Name: Flexible Shipping
|
4 |
Plugin URI: https://wordpress.org/plugins/flexible-shipping/
|
5 |
Description: Create additional shipment methods in WooCommerce and enable pricing based on cart weight or total.
|
6 |
+
Version: 2.1.3
|
7 |
Author: WP Desk
|
8 |
Author URI: https://www.wpdesk.net/
|
9 |
Text Domain: flexible-shipping
|
36 |
exit;
|
37 |
} // Exit if accessed directly
|
38 |
|
39 |
+
$plugin_version = '2.1.3';
|
40 |
|
41 |
define( 'FLEXIBLE_SHIPPING_VERSION', $plugin_version );
|
42 |
|
43 |
require_once( dirname( __FILE__ ) . '/classes/wpdesk/class-requirement-checker.php' );
|
44 |
+
require_once( 'classes/tracker.php' );
|
45 |
|
46 |
$requirements_checker = new WPDesk_Requirement_Checker_1_10(
|
47 |
__FILE__,
|
inc/wpdesk-tracker/views/tracker-styles.php
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<style>
|
2 |
+
.wpdesk-tracker-test div {
|
3 |
+
color: yellow !important;
|
4 |
+
}
|
5 |
+
</style>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.wpdesk.net/products/flexible-shipping-pro-woocommerce/
|
|
4 |
Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.6
|
7 |
-
Stable tag: 2.1.
|
8 |
Requires PHP: 5.5
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -171,6 +171,9 @@ If you are upgrading from the old Flexible Shipping version (1.3.2, woo-flexible
|
|
171 |
|
172 |
== Changelog ==
|
173 |
|
|
|
|
|
|
|
174 |
= 2.1.2 - 2018-05-23 =
|
175 |
* Added support for WooCommerce 3.4
|
176 |
|
4 |
Tags: table rate, table rate shipping, woocommerce shipping, flexible shipping, woocommerce table rate shipping, cart based shipping, weight shipping, weight based shipping, totals based shipping, order based shipping, shipping zones, shipping classes
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 4.9.6
|
7 |
+
Stable tag: 2.1.3
|
8 |
Requires PHP: 5.5
|
9 |
License: GPLv3 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
171 |
|
172 |
== Changelog ==
|
173 |
|
174 |
+
= 2.1.3 - 2018-05-29 =
|
175 |
+
* Fixed opt-in/opt-out links
|
176 |
+
|
177 |
= 2.1.2 - 2018-05-23 =
|
178 |
* Added support for WooCommerce 3.4
|
179 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit175f978dcd39292889849272d8efa5f6::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,15 +19,15 @@ class ComposerAutoloaderInitd893dd548357f8cd6ad938d99b295601
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
-
call_user_func(\Composer\Autoload\
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit175f978dcd39292889849272d8efa5f6
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit175f978dcd39292889849272d8efa5f6', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit175f978dcd39292889849272d8efa5f6', 'loadClassLoader'));
|
25 |
|
26 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
27 |
if ($useStaticLoader) {
|
28 |
require_once __DIR__ . '/autoload_static.php';
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit175f978dcd39292889849272d8efa5f6::getInitializer($loader));
|
31 |
} else {
|
32 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static function getInitializer(ClassLoader $loader)
|
10 |
{
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit175f978dcd39292889849272d8efa5f6
|
8 |
{
|
9 |
public static function getInitializer(ClassLoader $loader)
|
10 |
{
|