Version Description
- Improved: Improved Web Accessibility reported by @jflds
- Minor fixes
=
Download this release
Release Info
Developer | VideoUserManuals |
Plugin | White Label CMS |
Version | 2.4 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.4
- changelog.txt +4 -0
- includes/classes/Branding.php +3 -3
- readme.txt +4 -4
- view/admin/parts/branding-gutenberg.php +3 -0
- wlcms-plugin.php +2 -2
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 2.2.9 =
|
4 |
* Improved: Plugin security. Thanks to Krzysztof Zając and WPScan
|
5 |
* Improved: Custom Dashboard for HTML wrapper justify-content
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 2.3 =
|
4 |
+
* Improved: Hiding of Dashboard Widgets. Props to @tanohex
|
5 |
+
* Bug Fix: Fixed hiding WooCommerce Home
|
6 |
+
|
7 |
= 2.2.9 =
|
8 |
* Improved: Plugin security. Thanks to Krzysztof Zając and WPScan
|
9 |
* Improved: Custom Dashboard for HTML wrapper justify-content
|
includes/classes/Branding.php
CHANGED
@@ -96,7 +96,7 @@ class WLCMS_Branding extends WLCMS_Previewable
|
|
96 |
$args = array(
|
97 |
'id' => 'wlcms-admin-logo',
|
98 |
'href' => $admin_menu_bar_url,
|
99 |
-
'title' => sprintf('<img src="%s" />', $admin_menu_bar_image),
|
100 |
'meta' => array('class' => 'wlcms-admin-logo', 'title' => $admin_menu_bar_alt_text, 'target' => '_blank')
|
101 |
);
|
102 |
$wp_admin_bar->add_node($args);
|
@@ -128,7 +128,7 @@ class WLCMS_Branding extends WLCMS_Previewable
|
|
128 |
return;
|
129 |
}
|
130 |
|
131 |
-
$logo = sprintf('<img src=\"%s\"
|
132 |
|
133 |
$target = '_self';
|
134 |
if($sidebar_url) {
|
@@ -217,7 +217,7 @@ class WLCMS_Branding extends WLCMS_Previewable
|
|
217 |
$footer_main_text = "";
|
218 |
|
219 |
if ($footer_image) {
|
220 |
-
$footer_main_text .= '<img src="' . $footer_image . '" /> ';
|
221 |
}
|
222 |
|
223 |
if ($footer_text) {
|
96 |
$args = array(
|
97 |
'id' => 'wlcms-admin-logo',
|
98 |
'href' => $admin_menu_bar_url,
|
99 |
+
'title' => sprintf('<img src="%s" alt="%s" />', $admin_menu_bar_image, $admin_menu_bar_alt_text),
|
100 |
'meta' => array('class' => 'wlcms-admin-logo', 'title' => $admin_menu_bar_alt_text, 'target' => '_blank')
|
101 |
);
|
102 |
$wp_admin_bar->add_node($args);
|
128 |
return;
|
129 |
}
|
130 |
|
131 |
+
$logo = sprintf('<img src=\"%s\" alt=\"%s\" class=\"large-side-bar-logo\" /><img src=\"%s\" alt=\"%s\" class=\"collapsed-side-bar-logo\" />', $sidebar_image, $sidebar_text, $collapsed_sidebar_image, $sidebar_text);
|
132 |
|
133 |
$target = '_self';
|
134 |
if($sidebar_url) {
|
217 |
$footer_main_text = "";
|
218 |
|
219 |
if ($footer_image) {
|
220 |
+
$footer_main_text .= '<img src="' . $footer_image . '" alt="" /> ';
|
221 |
}
|
222 |
|
223 |
if ($footer_text) {
|
readme.txt
CHANGED
@@ -8,7 +8,7 @@ Author URI: https://www.videousermanuals.com/?utm_campaign=wlcms&utm_medium=plug
|
|
8 |
Author: Video User Manuals
|
9 |
Requires at least: 3.3
|
10 |
Requires PHP: 5.4
|
11 |
-
Tested up to: 6.
|
12 |
Stable tag: 2.3
|
13 |
|
14 |
Customise dashboard panels and branding, hide menus plus lots more.
|
@@ -66,9 +66,9 @@ There is so much that you can do with White Label CMS, but we want the experienc
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
-
= 2.
|
70 |
-
* Improved:
|
71 |
-
*
|
72 |
|
73 |
== Frequently Asked Questions ==
|
74 |
= 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: 6.1.1
|
12 |
Stable tag: 2.3
|
13 |
|
14 |
Customise dashboard panels and branding, hide menus plus lots more.
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 2.4 =
|
70 |
+
* Improved: Improved Web Accessibility reported by @jflds
|
71 |
+
* Minor fixes
|
72 |
|
73 |
== Frequently Asked Questions ==
|
74 |
= Who is this plugin for?=
|
view/admin/parts/branding-gutenberg.php
CHANGED
@@ -12,6 +12,9 @@
|
|
12 |
<div class="wlcms-input-group custom_gutenberg_exit_wrapper">
|
13 |
<?php echo wlcms_form_upload_field(__('Custom Image', 'white-label-cms'), 'gutenberg_exit_custom_icon', __('Max width and height 50px', 'white-label-cms')) ?>
|
14 |
</div>
|
|
|
|
|
|
|
15 |
<div class="wlcms-help help_gutenberg_exit">
|
16 |
<?php _e('Replace the WordPress logo on the Gutenberg Editor page with <span></span>', 'white-label-cms') ?>
|
17 |
</div>
|
12 |
<div class="wlcms-input-group custom_gutenberg_exit_wrapper">
|
13 |
<?php echo wlcms_form_upload_field(__('Custom Image', 'white-label-cms'), 'gutenberg_exit_custom_icon', __('Max width and height 50px', 'white-label-cms')) ?>
|
14 |
</div>
|
15 |
+
<div class="wlcms-help branding-toggled-off" style="color: #f64031;">
|
16 |
+
Note: You need to turn on the Hide WordPress Logo and Links, for this to work.
|
17 |
+
</div>
|
18 |
<div class="wlcms-help help_gutenberg_exit">
|
19 |
<?php _e('Replace the WordPress logo on the Gutenberg Editor page with <span></span>', 'white-label-cms') ?>
|
20 |
</div>
|
wlcms-plugin.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: White Label CMS
|
4 |
Plugin URI: https://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.
|
7 |
Author: www.videousermanuals.com
|
8 |
Author URI: https://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.
|
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: https://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.4
|
7 |
Author: www.videousermanuals.com
|
8 |
Author URI: https://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.4');
|
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__));
|