White Label CMS - Version 2.1.3

Version Description

  • Added compatibility with WordPress 5.4

=

Download this release

Release Info

Developer VideoUserManuals
Plugin Icon 128x128 White Label CMS
Version 2.1.3
Comparing to
See all releases

Code changes from version 2.1.2 to 2.1.3

changelog.txt CHANGED
@@ -1,5 +1,11 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
3
  = 2.1.1 =
4
  * Fixed Dashboard for Beaver Builder margin and padding
5
 
1
  == Changelog ==
2
 
3
+ = 2.1.2 =
4
+ * Support fonts import
5
+ * Added custom javascript for the login page
6
+ * Fixed PHP implode function compatibility
7
+ * Minor fixes
8
+
9
  = 2.1.1 =
10
  * Fixed Dashboard for Beaver Builder margin and padding
11
 
includes/classes/Admin_Settings.php CHANGED
@@ -8,7 +8,6 @@ class WLCMS_Admin_Settings
8
  add_action('admin_menu', array($this, 'admin_menu'), 9999);
9
  add_action('admin_init', array($this, 'init'), 9999);
10
  add_filter('mce_css', array($this, 'custom_editor_stylesheet'));
11
- add_filter('contextual_help', array($this, 'remove_help_tabs'), 999, 3);
12
  add_action('admin_init', array($this, 'remove_nag_messages'));
13
  add_action('init', array($this, 'remove_admin_bar'));
14
  }
@@ -51,16 +50,12 @@ class WLCMS_Admin_Settings
51
  }
52
  }
53
 
54
- public function remove_help_tabs($help, $screen_id, $screen)
55
  {
 
56
  if (wlcms_field_setting('hide_help_box')) {
57
- $screen->remove_help_tabs();
58
  }
59
- return $help;
60
- }
61
-
62
- private function set_admin_css()
63
- {
64
 
65
  if (!$admin_style = wlcms_field_setting('settings_custom_css_admin')) {
66
  return;
8
  add_action('admin_menu', array($this, 'admin_menu'), 9999);
9
  add_action('admin_init', array($this, 'init'), 9999);
10
  add_filter('mce_css', array($this, 'custom_editor_stylesheet'));
 
11
  add_action('admin_init', array($this, 'remove_nag_messages'));
12
  add_action('init', array($this, 'remove_admin_bar'));
13
  }
50
  }
51
  }
52
 
53
+ private function set_admin_css()
54
  {
55
+
56
  if (wlcms_field_setting('hide_help_box')) {
57
+ wlcms_set_hidden_css("#contextual-help-link-wrap");
58
  }
 
 
 
 
 
59
 
60
  if (!$admin_style = wlcms_field_setting('settings_custom_css_admin')) {
61
  return;
readme.txt CHANGED
@@ -8,8 +8,8 @@ Author URI: http://www.videousermanuals.com/?utm_campaign=wlcms&utm_medium=plugi
8
  Author: Video User Manuals
9
  Requires at least: 3.3
10
  Requires PHP: 5.4
11
- Tested up to: 5.3.2
12
- Stable tag: 2.1.2
13
 
14
  Customise dashboard panels and branding, hide menus plus lots more.
15
 
@@ -66,11 +66,8 @@ There is so much that you can do with White Label CMS, but we want the experienc
66
 
67
  == Changelog ==
68
 
69
- = 2.1.2 =
70
- * Support fonts import
71
- * Added custom javascript for the login page
72
- * Fixed PHP implode function compatibility
73
- * Minor fixes
74
 
75
  == Frequently Asked Questions ==
76
  = Who is this plugin for?=
8
  Author: Video User Manuals
9
  Requires at least: 3.3
10
  Requires PHP: 5.4
11
+ Tested up to: 5.4
12
+ Stable tag: 2.1.3
13
 
14
  Customise dashboard panels and branding, hide menus plus lots more.
15
 
66
 
67
  == Changelog ==
68
 
69
+ = 2.1.3 =
70
+ * Added compatibility with WordPress 5.4
 
 
 
71
 
72
  == Frequently Asked Questions ==
73
  = Who is this plugin for?=
view/admin/parts/dashboard-custom-welcome-dashboard-panel.php CHANGED
@@ -102,12 +102,6 @@ $welcome_panel_is_active = wlcms_welcome_value(0, 'is_active');
102
  <?php
103
  endif;
104
  ?>
105
- <div class="wlcms-input-group">
106
- <div class="wlcms-input">
107
- <input class="wlcms-toggle wlcms-toggle-light" id="own_welcome_panel_dismissible" value="1" name="welcome_panel[0][dismissible]" <?php checked(wlcms_welcome_value(0, 'dismissible'), 1, true) ?> type="checkbox"/>
108
- <label class="wlcms-toggle-btn" for="own_welcome_panel_dismissible"></label><label class="toggle-label" for="own_welcome_panel_dismissible"><?php _e('Dismissible'); ?></label>
109
- </div>
110
- </div>
111
  </div>
112
  </div>
113
 
@@ -199,11 +193,5 @@ $welcome_panel_is_active = wlcms_welcome_value(1, 'is_active');
199
  <?php
200
  endif;
201
  ?>
202
- <div class="wlcms-input-group">
203
- <div class="wlcms-input">
204
- <input class="wlcms-toggle wlcms-toggle-light" id="second_welcome_panel_dismissible" value="1" name="welcome_panel[1][dismissible]" <?php checked(wlcms_welcome_value(1, 'dismissible'), 1, true) ?> type="checkbox"/>
205
- <label class="wlcms-toggle-btn" for="second_welcome_panel_dismissible"></label><label class="toggle-label" for="second_welcome_panel_dismissible"><?php _e('Dismissible'); ?></label>
206
- </div>
207
- </div>
208
  </div>
209
  </div>
102
  <?php
103
  endif;
104
  ?>
 
 
 
 
 
 
105
  </div>
106
  </div>
107
 
193
  <?php
194
  endif;
195
  ?>
 
 
 
 
 
 
196
  </div>
197
  </div>
wlcms-plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: White Label CMS
4
  Plugin URI: http://www.videousermanuals.com/white-label-cms/?utm_campaign=wlcms&utm_medium=plugin&utm_source=readme-txt
5
  Description: A plugin that allows you to brand WordPress CMS as your own
6
- Version: 2.1.2
7
  Author: www.videousermanuals.com
8
  Author URI: http://www.videousermanuals.com/?utm_campaign=wlcms&utm_medium=plugin&utm_source=readme-txt
9
  Text Domain: white-label-cms
@@ -13,7 +13,7 @@ Domain Path: /languages
13
 
14
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
15
 
16
- define('WLCMS_VERSION', '2.1.2');
17
  define("WLCMS_DIR", plugin_dir_path(__FILE__));
18
  define("WLCMS_ASSETS_URL", plugin_dir_url(__FILE__) . 'assets/');
19
  define("WLCMS_BASENAME", plugin_basename(__FILE__));
3
  Plugin Name: White Label CMS
4
  Plugin URI: http://www.videousermanuals.com/white-label-cms/?utm_campaign=wlcms&utm_medium=plugin&utm_source=readme-txt
5
  Description: A plugin that allows you to brand WordPress CMS as your own
6
+ Version: 2.1.3
7
  Author: www.videousermanuals.com
8
  Author URI: http://www.videousermanuals.com/?utm_campaign=wlcms&utm_medium=plugin&utm_source=readme-txt
9
  Text Domain: white-label-cms
13
 
14
  if (!defined('ABSPATH')) exit; // Exit if accessed directly
15
 
16
+ define('WLCMS_VERSION', '2.1.3');
17
  define("WLCMS_DIR", plugin_dir_path(__FILE__));
18
  define("WLCMS_ASSETS_URL", plugin_dir_url(__FILE__) . 'assets/');
19
  define("WLCMS_BASENAME", plugin_basename(__FILE__));