Version Description
- Fix: WordPress 5.5 compatibility
Download this release
Release Info
| Developer | quadlayers |
| Plugin | |
| Version | 2.4.0 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.9 to 2.4.0
- includes/controller/archives.php +0 -15
- includes/controller/suggestions.php +1 -1
- includes/suggestions.php +1 -1
- readme.txt +6 -3
- woocommerce-direct-checkout.php +3 -3
includes/controller/archives.php
CHANGED
|
@@ -33,21 +33,6 @@ class QLWCDC_Controller_Archives {
|
|
| 33 |
'type' => 'title',
|
| 34 |
'id' => 'qlwcdc_archives_section_title'
|
| 35 |
),
|
| 36 |
-
// array(
|
| 37 |
-
// 'title' => __('Add to cart behaviour', 'woocommerce-direct-checkout'),
|
| 38 |
-
// 'desc' => __('Redirect to the cart page after successful addition', 'woocommerce-direct-checkout'),
|
| 39 |
-
// 'id' => 'woocommerce_cart_redirect_after_add',
|
| 40 |
-
// 'default' => 'no',
|
| 41 |
-
// 'type' => 'checkbox',
|
| 42 |
-
// 'checkboxgroup' => 'start',
|
| 43 |
-
// ),
|
| 44 |
-
// array(
|
| 45 |
-
// 'desc' => __('Enable AJAX add to cart buttons on archives', 'woocommerce-direct-checkout'),
|
| 46 |
-
// 'id' => 'woocommerce_enable_ajax_add_to_cart',
|
| 47 |
-
// 'default' => 'yes',
|
| 48 |
-
// 'type' => 'checkbox',
|
| 49 |
-
// 'checkboxgroup' => 'end',
|
| 50 |
-
// ),
|
| 51 |
array(
|
| 52 |
'name' => esc_html__('Replace Add to cart text', 'woocommerce-direct-checkout'),
|
| 53 |
'desc_tip' => esc_html__('Replace "Add to cart" text.', 'woocommerce-direct-checkout'),
|
| 33 |
'type' => 'title',
|
| 34 |
'id' => 'qlwcdc_archives_section_title'
|
| 35 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
array(
|
| 37 |
'name' => esc_html__('Replace Add to cart text', 'woocommerce-direct-checkout'),
|
| 38 |
'desc_tip' => esc_html__('Replace "Add to cart" text.', 'woocommerce-direct-checkout'),
|
includes/controller/suggestions.php
CHANGED
|
@@ -27,7 +27,7 @@ class QLWCDC_Controller_Suggestions {
|
|
| 27 |
}
|
| 28 |
|
| 29 |
public function add_menu() {
|
| 30 |
-
add_submenu_page(QLWCDC_PREFIX,
|
| 31 |
}
|
| 32 |
|
| 33 |
// fix for activateUrl on install now button
|
| 27 |
}
|
| 28 |
|
| 29 |
public function add_menu() {
|
| 30 |
+
add_submenu_page(QLWCDC_PREFIX, esc_html__('Suggestions', 'woocommerce-direct-checkout'), esc_html__('Suggestions', 'woocommerce-direct-checkout'), 'manage_woocommerce', QLWCDC_PREFIX . '_suggestions', array($this, 'add_page'));
|
| 31 |
}
|
| 32 |
|
| 33 |
// fix for activateUrl on install now button
|
includes/suggestions.php
CHANGED
|
@@ -108,7 +108,7 @@ class QLWCDC_Suggestions_List_Table extends WP_Plugin_Install_List_Table {
|
|
| 108 |
$tabs = array();
|
| 109 |
|
| 110 |
if ('search' === $tab) {
|
| 111 |
-
$tabs['search'] =
|
| 112 |
}
|
| 113 |
if ($tab === 'beta' || false !== strpos(get_bloginfo('version'), '-')) {
|
| 114 |
$tabs['beta'] = _x('Beta Testing', 'Plugin Installer');
|
| 108 |
$tabs = array();
|
| 109 |
|
| 110 |
if ('search' === $tab) {
|
| 111 |
+
$tabs['search'] = esc_html__('Search Results');
|
| 112 |
}
|
| 113 |
if ($tab === 'beta' || false !== strpos(get_bloginfo('version'), '-')) {
|
| 114 |
$tabs['beta'] = _x('Beta Testing', 'Plugin Installer');
|
readme.txt
CHANGED
|
@@ -3,10 +3,10 @@ Contributors: quadlayers
|
|
| 3 |
Donate link: https://quadlayers.com/portfolio/woocommerce-direct-checkout/
|
| 4 |
Tags: woocommerce, woocommerce ajax, woocommerce ajax cart, add to cart, woocommerce direct checkout, woocommerce quick buy, woocommerce remove checkout fields, woocommerce ajax single products, woocommerce one page checkout
|
| 5 |
Requires at least: 4.6
|
| 6 |
-
Tested up to: 5.
|
| 7 |
-
Stable tag: 2.
|
| 8 |
WC requires at least: 3.1.0
|
| 9 |
-
WC tested up to: 4.2
|
| 10 |
License: GPLv3
|
| 11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 12 |
|
|
@@ -64,6 +64,9 @@ The premium version of WooCommerce Direct Checkot allows to include a quick purc
|
|
| 64 |
|
| 65 |
== Changelog ==
|
| 66 |
|
|
|
|
|
|
|
|
|
|
| 67 |
= 2.3.8 =
|
| 68 |
* Fix: Fixed override cart url
|
| 69 |
|
| 3 |
Donate link: https://quadlayers.com/portfolio/woocommerce-direct-checkout/
|
| 4 |
Tags: woocommerce, woocommerce ajax, woocommerce ajax cart, add to cart, woocommerce direct checkout, woocommerce quick buy, woocommerce remove checkout fields, woocommerce ajax single products, woocommerce one page checkout
|
| 5 |
Requires at least: 4.6
|
| 6 |
+
Tested up to: 5.5.0
|
| 7 |
+
Stable tag: 2.4.0
|
| 8 |
WC requires at least: 3.1.0
|
| 9 |
+
WC tested up to: 4.3.2
|
| 10 |
License: GPLv3
|
| 11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 12 |
|
| 64 |
|
| 65 |
== Changelog ==
|
| 66 |
|
| 67 |
+
= 2.4.0 =
|
| 68 |
+
* Fix: WordPress 5.5 compatibility
|
| 69 |
+
|
| 70 |
= 2.3.8 =
|
| 71 |
* Fix: Fixed override cart url
|
| 72 |
|
woocommerce-direct-checkout.php
CHANGED
|
@@ -4,13 +4,13 @@
|
|
| 4 |
* Plugin Name: Direct Checkout for WooCommerce
|
| 5 |
* Plugin URI: https://quadlayers.com/documentation/woocommerce-direct-checkout/
|
| 6 |
* Description: Simplifies the checkout process to improve your sales rate.
|
| 7 |
-
* Version: 2.
|
| 8 |
* Author: QuadLayers
|
| 9 |
* Author URI: https://quadlayers.com
|
| 10 |
* License: GPLv3
|
| 11 |
* Text Domain: woocommerce-direct-checkout
|
| 12 |
* WC requires at least: 3.1.0
|
| 13 |
-
* WC tested up to: 4.2
|
| 14 |
*/
|
| 15 |
if (!defined('ABSPATH')) {
|
| 16 |
die('-1');
|
|
@@ -19,7 +19,7 @@ if (!defined('QLWCDC_PLUGIN_NAME')) {
|
|
| 19 |
define('QLWCDC_PLUGIN_NAME', 'Direct Checkout for WooCommerce');
|
| 20 |
}
|
| 21 |
if (!defined('QLWCDC_PLUGIN_VERSION')) {
|
| 22 |
-
define('QLWCDC_PLUGIN_VERSION', '2.
|
| 23 |
}
|
| 24 |
if (!defined('QLWCDC_PLUGIN_FILE')) {
|
| 25 |
define('QLWCDC_PLUGIN_FILE', __FILE__);
|
| 4 |
* Plugin Name: Direct Checkout for WooCommerce
|
| 5 |
* Plugin URI: https://quadlayers.com/documentation/woocommerce-direct-checkout/
|
| 6 |
* Description: Simplifies the checkout process to improve your sales rate.
|
| 7 |
+
* Version: 2.4.0
|
| 8 |
* Author: QuadLayers
|
| 9 |
* Author URI: https://quadlayers.com
|
| 10 |
* License: GPLv3
|
| 11 |
* Text Domain: woocommerce-direct-checkout
|
| 12 |
* WC requires at least: 3.1.0
|
| 13 |
+
* WC tested up to: 4.3.2
|
| 14 |
*/
|
| 15 |
if (!defined('ABSPATH')) {
|
| 16 |
die('-1');
|
| 19 |
define('QLWCDC_PLUGIN_NAME', 'Direct Checkout for WooCommerce');
|
| 20 |
}
|
| 21 |
if (!defined('QLWCDC_PLUGIN_VERSION')) {
|
| 22 |
+
define('QLWCDC_PLUGIN_VERSION', '2.4.0');
|
| 23 |
}
|
| 24 |
if (!defined('QLWCDC_PLUGIN_FILE')) {
|
| 25 |
define('QLWCDC_PLUGIN_FILE', __FILE__);
|
