Version Description
- Fix: php error
Download this release
Release Info
Developer | quadlayers |
Plugin | WooCommerce Checkout Manager |
Version | 5.3.3 |
Comparing to | |
See all releases |
Code changes from version 5.3.2 to 5.3.3
includes/class-wooccm-suggestions-list-table.php
CHANGED
@@ -5,12 +5,14 @@ require_once( ABSPATH . 'wp-admin/includes/class-wp-plugin-install-list-table.ph
|
|
5 |
class WOOCCM_Suggestions_List_Table extends WP_Plugin_Install_List_Table {
|
6 |
|
7 |
public $promote = array(
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
14 |
);
|
15 |
|
16 |
private function remove_plugins($plugins) {
|
5 |
class WOOCCM_Suggestions_List_Table extends WP_Plugin_Install_List_Table {
|
6 |
|
7 |
public $promote = array(
|
8 |
+
'woocommerce-direct-checkout',
|
9 |
+
'perfect-woocommerce-brands',
|
10 |
+
'autocomplete-woocommerce-orders',
|
11 |
+
'wp-whatsapp-chat',
|
12 |
+
'insta-gallery',
|
13 |
+
'wp-menu-icons',
|
14 |
+
'quadmenu',
|
15 |
+
'wp-tiktok-feed',
|
16 |
);
|
17 |
|
18 |
private function remove_plugins($plugins) {
|
includes/controller/class-wooccm-suggestions.php
CHANGED
@@ -7,6 +7,7 @@ class WOOCCM_Checkout_Suggestions_Controller
|
|
7 |
|
8 |
public function __construct()
|
9 |
{
|
|
|
10 |
add_action('admin_menu', array($this, 'add_menu'));
|
11 |
add_action('admin_init', array($this, 'add_redirect'));
|
12 |
add_filter('network_admin_url', array($this, 'network_admin_url'), 10, 2);
|
@@ -34,6 +35,13 @@ class WOOCCM_Checkout_Suggestions_Controller
|
|
34 |
add_submenu_page(WOOCCM_PREFIX, esc_html__('Suggestions', 'woocommerce-checkout-manager'), esc_html__('Suggestions', 'woocommerce-checkout-manager'), 'manage_woocommerce', WOOCCM_PREFIX . '_suggestions', array($this, 'add_page'));
|
35 |
}
|
36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
// fix for activateUrl on install now button
|
38 |
public function network_admin_url($url, $path)
|
39 |
{
|
7 |
|
8 |
public function __construct()
|
9 |
{
|
10 |
+
add_action('wooccm_sections_header', array($this, 'add_header'));
|
11 |
add_action('admin_menu', array($this, 'add_menu'));
|
12 |
add_action('admin_init', array($this, 'add_redirect'));
|
13 |
add_filter('network_admin_url', array($this, 'network_admin_url'), 10, 2);
|
35 |
add_submenu_page(WOOCCM_PREFIX, esc_html__('Suggestions', 'woocommerce-checkout-manager'), esc_html__('Suggestions', 'woocommerce-checkout-manager'), 'manage_woocommerce', WOOCCM_PREFIX . '_suggestions', array($this, 'add_page'));
|
36 |
}
|
37 |
|
38 |
+
function add_header()
|
39 |
+
{
|
40 |
+
?>
|
41 |
+
<li><a href="<?php echo admin_url('admin.php?page=wooccm_suggestions'); ?>"><?php echo esc_html__('Suggestions', 'woocommerce-checkout-manager'); ?></a></li> |
|
42 |
+
<?php
|
43 |
+
}
|
44 |
+
|
45 |
// fix for activateUrl on install now button
|
46 |
public function network_admin_url($url, $path)
|
47 |
{
|
includes/view/backend/pages/parts/header.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
<p class="about-text"><?php printf(esc_html__('Thanks for using our product! We recommend these extensions that will add new features to stand out your business and improve your sales.', 'woocommerce-checkout-manager'), WOOCCM_PLUGIN_NAME); ?></p>
|
6 |
|
7 |
<p class="about-text">
|
8 |
-
<?php printf('<a href="%s" target="_blank">%s</a>', WOOCCM_PURCHASE_URL, esc_html__('Purchase', 'woocommerce-checkout-manager')); ?></a> |
|
9 |
<?php printf('<a href="%s" target="_blank">%s</a>', WOOCCM_DOCUMENTATION_URL, esc_html__('Documentation', 'woocommerce-checkout-manager')); ?></a>
|
10 |
</p>
|
11 |
|
@@ -29,20 +29,20 @@
|
|
29 |
<?php
|
30 |
if (isset($GLOBALS['submenu'][WOOCCM_PREFIX])) {
|
31 |
if (is_array($GLOBALS['submenu'][WOOCCM_PREFIX])) {
|
32 |
-
|
33 |
<div class="wrap about-wrap full-width-layout qlwrap">
|
34 |
<h2 class="nav-tab-wrapper">
|
35 |
<?php
|
36 |
foreach ($GLOBALS['submenu'][WOOCCM_PREFIX] as $tab) {
|
37 |
if (strpos($tab[2], '.php') !== false)
|
38 |
continue;
|
39 |
-
|
40 |
<a href="<?php echo admin_url('admin.php?page=' . esc_attr($tab[2])); ?>" class="nav-tab<?php echo (isset($_GET['page']) && $_GET['page'] == $tab[2]) ? ' nav-tab-active' : ''; ?>"><?php echo $tab[0]; ?></a>
|
41 |
-
|
42 |
}
|
43 |
?>
|
44 |
</h2>
|
45 |
</div>
|
46 |
-
|
47 |
}
|
48 |
-
}
|
5 |
<p class="about-text"><?php printf(esc_html__('Thanks for using our product! We recommend these extensions that will add new features to stand out your business and improve your sales.', 'woocommerce-checkout-manager'), WOOCCM_PLUGIN_NAME); ?></p>
|
6 |
|
7 |
<p class="about-text">
|
8 |
+
<?php printf('<a href="%s" target="_blank">%s</a>', WOOCCM_PURCHASE_URL, esc_html__('Purchase', 'woocommerce-checkout-manager')); ?></a> |
|
9 |
<?php printf('<a href="%s" target="_blank">%s</a>', WOOCCM_DOCUMENTATION_URL, esc_html__('Documentation', 'woocommerce-checkout-manager')); ?></a>
|
10 |
</p>
|
11 |
|
29 |
<?php
|
30 |
if (isset($GLOBALS['submenu'][WOOCCM_PREFIX])) {
|
31 |
if (is_array($GLOBALS['submenu'][WOOCCM_PREFIX])) {
|
32 |
+
?>
|
33 |
<div class="wrap about-wrap full-width-layout qlwrap">
|
34 |
<h2 class="nav-tab-wrapper">
|
35 |
<?php
|
36 |
foreach ($GLOBALS['submenu'][WOOCCM_PREFIX] as $tab) {
|
37 |
if (strpos($tab[2], '.php') !== false)
|
38 |
continue;
|
39 |
+
?>
|
40 |
<a href="<?php echo admin_url('admin.php?page=' . esc_attr($tab[2])); ?>" class="nav-tab<?php echo (isset($_GET['page']) && $_GET['page'] == $tab[2]) ? ' nav-tab-active' : ''; ?>"><?php echo $tab[0]; ?></a>
|
41 |
+
<?php
|
42 |
}
|
43 |
?>
|
44 |
</h2>
|
45 |
</div>
|
46 |
+
<?php
|
47 |
}
|
48 |
+
}
|
readme.txt
CHANGED
@@ -3,10 +3,10 @@ Contributors: quadlayers
|
|
3 |
Donate link: https://quadlayers.com/
|
4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
5 |
Requires at least: 3.4
|
6 |
-
Tested up to: 5.
|
7 |
-
Stable tag: 5.3.
|
8 |
WC requires at least: 3.1.0
|
9 |
-
WC tested up to: 4.
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
@@ -107,6 +107,9 @@ Your Order data can be reviewed in each order within the default WooCommerce Ord
|
|
107 |
|
108 |
== Changelog ==
|
109 |
|
|
|
|
|
|
|
110 |
= 5.3.2 =
|
111 |
* Fix: save button
|
112 |
|
3 |
Donate link: https://quadlayers.com/
|
4 |
Tags: woocommerce, woocommerce checkout, field manager, checkout editor, checkout field, shipping field, billing field, order field, additional field
|
5 |
Requires at least: 3.4
|
6 |
+
Tested up to: 5.6
|
7 |
+
Stable tag: 5.3.3
|
8 |
WC requires at least: 3.1.0
|
9 |
+
WC tested up to: 4.8.0
|
10 |
License: GPLv3
|
11 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
12 |
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 5.3.3 =
|
111 |
+
* Fix: php error
|
112 |
+
|
113 |
= 5.3.2 =
|
114 |
* Fix: save button
|
115 |
|
woocommerce-checkout-manager.php
CHANGED
@@ -4,13 +4,13 @@
|
|
4 |
* Plugin Name: Checkout Manager for WooCommerce
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
|
6 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
7 |
-
* Version: 5.3.
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPLv3
|
11 |
* Text Domain: woocommerce-checkout-manager
|
12 |
* WC requires at least: 3.1.0
|
13 |
-
* WC tested up to: 4.
|
14 |
*/
|
15 |
if (!defined('ABSPATH')) {
|
16 |
die('-1');
|
@@ -20,7 +20,7 @@ if (!defined('WOOCCM_PLUGIN_NAME')) {
|
|
20 |
define('WOOCCM_PLUGIN_NAME', 'Checkout Manager for WooCommerce');
|
21 |
}
|
22 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
23 |
-
define('WOOCCM_PLUGIN_VERSION', '5.3.
|
24 |
}
|
25 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
26 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|
4 |
* Plugin Name: Checkout Manager for WooCommerce
|
5 |
* Plugin URI: https://quadlayers.com/portfolio/woocommerce-checkout-manager/
|
6 |
* Description: Manages WooCommerce Checkout, the advanced way.
|
7 |
+
* Version: 5.3.3
|
8 |
* Author: QuadLayers
|
9 |
* Author URI: https://quadlayers.com
|
10 |
* License: GPLv3
|
11 |
* Text Domain: woocommerce-checkout-manager
|
12 |
* WC requires at least: 3.1.0
|
13 |
+
* WC tested up to: 4.8.0
|
14 |
*/
|
15 |
if (!defined('ABSPATH')) {
|
16 |
die('-1');
|
20 |
define('WOOCCM_PLUGIN_NAME', 'Checkout Manager for WooCommerce');
|
21 |
}
|
22 |
if (!defined('WOOCCM_PLUGIN_VERSION')) {
|
23 |
+
define('WOOCCM_PLUGIN_VERSION', '5.3.3');
|
24 |
}
|
25 |
if (!defined('WOOCCM_PLUGIN_FILE')) {
|
26 |
define('WOOCCM_PLUGIN_FILE', __FILE__);
|