WooCommerce Direct Checkout - Version 2.3.4

Version Description

  • Fix: WooCommerce Direct Checkout suggestions
Download this release

Release Info

Developer quadlayers
Plugin Icon 128x128 WooCommerce Direct Checkout
Version 2.3.4
Comparing to
See all releases

Code changes from version 2.3.3 to 2.3.4

includes/controller/premium.php CHANGED
@@ -7,7 +7,6 @@ class QLWCDC_Controller_Premium {
7
  public function __construct() {
8
  add_action('qlwcdc_sections_header', array($this, 'add_header'));
9
  add_action('admin_menu', array($this, 'add_menu'));
10
- add_action('admin_head', array($this, 'remove_menu'));
11
  }
12
 
13
  public static function instance() {
@@ -23,18 +22,6 @@ class QLWCDC_Controller_Premium {
23
  <?php
24
  }
25
 
26
- function remove_menu() {
27
- ?>
28
- <style>
29
-
30
- li.toplevel_page_qlwcdc {
31
- display:none;
32
- }
33
-
34
- </style>
35
- <?php
36
- }
37
-
38
  // Admin
39
  // -------------------------------------------------------------------------
40
 
7
  public function __construct() {
8
  add_action('qlwcdc_sections_header', array($this, 'add_header'));
9
  add_action('admin_menu', array($this, 'add_menu'));
 
10
  }
11
 
12
  public static function instance() {
22
  <?php
23
  }
24
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  // Admin
26
  // -------------------------------------------------------------------------
27
 
includes/controller/suggestions.php CHANGED
@@ -7,6 +7,7 @@ class QLWCDC_Controller_Suggestions {
7
  public function __construct() {
8
  add_action('admin_menu', array($this, 'add_menu'));
9
  add_action('admin_init', array($this, 'add_redirect'));
 
10
  add_filter('network_admin_url', array($this, 'network_admin_url'), 10, 2);
11
  }
12
 
@@ -17,11 +18,11 @@ class QLWCDC_Controller_Suggestions {
17
  return self::$_instance;
18
  }
19
 
20
- // Admin
21
  // -------------------------------------------------------------------------
22
 
23
  public function add_page() {
24
- include_once( QLWCDC_PLUGIN_DIR . 'includes/suggestions-list-table.php' );
25
  include_once( QLWCDC_PLUGIN_DIR . 'includes/view/backend/pages/suggestions.php' );
26
  }
27
 
@@ -52,6 +53,18 @@ class QLWCDC_Controller_Suggestions {
52
  }
53
  }
54
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  }
56
 
57
  QLWCDC_Controller_Suggestions::instance();
7
  public function __construct() {
8
  add_action('admin_menu', array($this, 'add_menu'));
9
  add_action('admin_init', array($this, 'add_redirect'));
10
+ add_action('admin_head', array($this, 'remove_menu'));
11
  add_filter('network_admin_url', array($this, 'network_admin_url'), 10, 2);
12
  }
13
 
18
  return self::$_instance;
19
  }
20
 
21
+ // Admin
22
  // -------------------------------------------------------------------------
23
 
24
  public function add_page() {
25
+ include_once( QLWCDC_PLUGIN_DIR . 'includes/suggestions.php' );
26
  include_once( QLWCDC_PLUGIN_DIR . 'includes/view/backend/pages/suggestions.php' );
27
  }
28
 
53
  }
54
  }
55
 
56
+ public function remove_menu() {
57
+ ?>
58
+ <style>
59
+
60
+ li.toplevel_page_<?php echo QLWCDC_PREFIX; ?> {
61
+ display:none;
62
+ }
63
+
64
+ </style>
65
+ <?php
66
+ }
67
+
68
  }
69
 
70
  QLWCDC_Controller_Suggestions::instance();
includes/{suggestions-list-table.php → suggestions.php} RENAMED
@@ -8,9 +8,9 @@ class QLWCDC_Suggestions_List_Table extends WP_Plugin_Install_List_Table {
8
  'woocommerce-checkout-manager',
9
  'perfect-woocommerce-brands',
10
  'wp-whatsapp-chat',
 
11
  'insta-gallery',
12
  'quadmenu',
13
- 'wp-menu-icons',
14
  );
15
 
16
  private function remove_plugins($plugins) {
8
  'woocommerce-checkout-manager',
9
  'perfect-woocommerce-brands',
10
  'wp-whatsapp-chat',
11
+ 'wp-tiktok-feed',
12
  'insta-gallery',
13
  'quadmenu',
 
14
  );
15
 
16
  private function remove_plugins($plugins) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.4.0
7
- Stable tag: 2.3.3
8
  WC requires at least: 3.0
9
  WC tested up to: 4.0
10
  License: GPLv2 or later
@@ -68,6 +68,9 @@ The premium version of WooCommerce Direct Checkot allows to include a quick purc
68
 
69
  == Changelog ==
70
 
 
 
 
71
  = 2.3.3 =
72
  * Fix: WooCommerce Direct Checkout Pro compatibility
73
 
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.4.0
7
+ Stable tag: 2.3.4
8
  WC requires at least: 3.0
9
  WC tested up to: 4.0
10
  License: GPLv2 or later
68
 
69
  == Changelog ==
70
 
71
+ = 2.3.4 =
72
+ * Fix: WooCommerce Direct Checkout suggestions
73
+
74
  = 2.3.3 =
75
  * Fix: WooCommerce Direct Checkout Pro compatibility
76
 
woocommerce-direct-checkout.php CHANGED
@@ -3,11 +3,13 @@
3
  /**
4
  * Plugin Name: WooCommerce Direct Checkout
5
  * Description: Simplifies the checkout process to improve your sales rate.
6
- * Version: 2.3.3
7
  * Author: QuadLayers
8
  * Author URI: https://www.quadlayers.com
9
  * Copyright: 2019 QuadLayers (https://www.quadlayers.com)
10
- * Text Domain: woocommerce-direct-checkout
 
 
11
  */
12
  if (!defined('ABSPATH')) {
13
  die('-1');
@@ -16,7 +18,7 @@ if (!defined('QLWCDC_PLUGIN_NAME')) {
16
  define('QLWCDC_PLUGIN_NAME', 'WooCommerce Direct Checkout');
17
  }
18
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
19
- define('QLWCDC_PLUGIN_VERSION', '2.3.3');
20
  }
21
  if (!defined('QLWCDC_PLUGIN_FILE')) {
22
  define('QLWCDC_PLUGIN_FILE', __FILE__);
3
  /**
4
  * Plugin Name: WooCommerce Direct Checkout
5
  * Description: Simplifies the checkout process to improve your sales rate.
6
+ * Version: 2.3.4
7
  * Author: QuadLayers
8
  * Author URI: https://www.quadlayers.com
9
  * Copyright: 2019 QuadLayers (https://www.quadlayers.com)
10
+ * Text Domain: woocommerce-direct-checkout *
11
+ * WC requires at least: 3.1.0
12
+ * WC tested up to: 4.0
13
  */
14
  if (!defined('ABSPATH')) {
15
  die('-1');
18
  define('QLWCDC_PLUGIN_NAME', 'WooCommerce Direct Checkout');
19
  }
20
  if (!defined('QLWCDC_PLUGIN_VERSION')) {
21
+ define('QLWCDC_PLUGIN_VERSION', '2.3.4');
22
  }
23
  if (!defined('QLWCDC_PLUGIN_FILE')) {
24
  define('QLWCDC_PLUGIN_FILE', __FILE__);