Absolutely Glamorous Custom Admin - Version 7.0.2

Version Description

  • Fixed compatibility issues with page builders
  • Fixed warnings for AGCA script inclusion
Download this release

Release Info

Developer cusmin
Plugin Icon 128x128 Absolutely Glamorous Custom Admin
Version 7.0.2
Comparing to
See all releases

Code changes from version 7.0.1 to 7.0.2

Files changed (3) hide show
  1. changelog.txt +10 -0
  2. plugin.php +14 -10
  3. readme.txt +7 -20
changelog.txt CHANGED
@@ -1,5 +1,15 @@
1
  == Change Log ==
2
 
 
 
 
 
 
 
 
 
 
 
3
  = 7.0 =
4
  * Improved security
5
  * Code cleanup
1
  == Change Log ==
2
 
3
+ = 7.0.2 =
4
+ * Fixed compatibility issues with page builders
5
+ * Fixed warnings for AGCA script inclusion
6
+
7
+ = 7.0.1 =
8
+ * Tested up to PHP 8.1
9
+ * Fixed HTML escaping issue for site title in admin bar
10
+ * Fixed issue of not displaying admin bar customizations on front-end
11
+ * Added compatibility support for Ninja Tables plugin
12
+
13
  = 7.0 =
14
  * Improved security
15
  * Code cleanup
plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Custom Dashboard & Login Page - AGCA
4
  Plugin URI: https://cusmin.com/agca
5
  Description: CHANGE: admin menu, login page, admin bar, dashboard widgets, custom colors, custom CSS & JS, logo & images
6
  Author: Cusmin
7
- Version: 7.0.1
8
  Text Domain: ag-custom-admin
9
  Domain Path: /languages
10
  Author URI: https://cusmin.com/
@@ -28,7 +28,7 @@ Author URI: https://cusmin.com/
28
  $agca = new AGCA();
29
 
30
  class AGCA{
31
- private $agca_version = "7.0.1";
32
  private $colorizer = "";
33
  private $agca_debug = false;
34
  private $admin_capabilities;
@@ -72,17 +72,21 @@ class AGCA{
72
 
73
  //admin bar on front end
74
  if(!is_admin() && is_admin_bar_showing()){
75
- ?>
76
- <style type="text/css">
77
- #wpadminbar{
78
- display: none;
79
- }
80
- </style>
81
- <?php
82
  $this->agca_enqueue_js();
83
  }
84
  }
85
 
 
 
 
 
 
 
 
 
 
 
86
  function agca_check_js_notice(){
87
  echo '<div class="notice error">
88
  <p><h2>IMPORTANT MESSAGE FROM AGCA PLUGIN! (aka Custom Dashboard & Login Page plugin)</h2></p>
@@ -211,7 +215,7 @@ class AGCA{
211
  function agca_enqueue_js(){
212
  wp_register_script ( 'agca-script', $this->pluginUrl() . 'script/ag_script.js', array('jquery'), $this->agca_version );
213
  add_action('wp_print_scripts', function () {
214
- wp_enqueue_script ( 'agca-script', array('jquery') );
215
  }, 2);
216
  }
217
 
4
  Plugin URI: https://cusmin.com/agca
5
  Description: CHANGE: admin menu, login page, admin bar, dashboard widgets, custom colors, custom CSS & JS, logo & images
6
  Author: Cusmin
7
+ Version: 7.0.2
8
  Text Domain: ag-custom-admin
9
  Domain Path: /languages
10
  Author URI: https://cusmin.com/
28
  $agca = new AGCA();
29
 
30
  class AGCA{
31
+ private $agca_version = "7.0.2";
32
  private $colorizer = "";
33
  private $agca_debug = false;
34
  private $admin_capabilities;
72
 
73
  //admin bar on front end
74
  if(!is_admin() && is_admin_bar_showing()){
75
+ add_action('wp_head', array(&$this, 'hide_admin_bar_css'));
 
 
 
 
 
 
76
  $this->agca_enqueue_js();
77
  }
78
  }
79
 
80
+ function hide_admin_bar_css(){
81
+ ?>
82
+ <style type="text/css">
83
+ #wpadminbar{
84
+ display: none;
85
+ }
86
+ </style>
87
+ <?php
88
+ }
89
+
90
  function agca_check_js_notice(){
91
  echo '<div class="notice error">
92
  <p><h2>IMPORTANT MESSAGE FROM AGCA PLUGIN! (aka Custom Dashboard & Login Page plugin)</h2></p>
215
  function agca_enqueue_js(){
216
  wp_register_script ( 'agca-script', $this->pluginUrl() . 'script/ag_script.js', array('jquery'), $this->agca_version );
217
  add_action('wp_print_scripts', function () {
218
+ wp_enqueue_script ( 'agca-script' );
219
  }, 2);
220
  }
221
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cus
4
  Tags: customize dashboard, hide admin bar, customize admin menu, customize login page, hide widgets, admin menu, dashboard, edit admin menu, admin bar, login page, widgets, customize admin
5
  Requires at least: 3.0
6
  Tested up to: 5.8
7
- Stable tag: 7.0.1
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl.txt
10
 
@@ -159,6 +159,10 @@ If you have the latest WordPress and plugin versions, and you still experience s
159
 
160
  == Change Log ==
161
 
 
 
 
 
162
  = 7.0.1 =
163
  * Tested up to PHP 8.1
164
  * Fixed HTML escaping issue for site title in admin bar
@@ -172,26 +176,9 @@ If you have the latest WordPress and plugin versions, and you still experience s
172
  * Properly using enqueue for scripts and dependencies
173
  * Small changes on General fields, better naming AGCA administrators > AGCA safe users
174
 
175
- = 6.9.5 =
176
- * Improved security
177
-
178
- = 6.9.4 =
179
- * Fixed: "Cannot hide Woocommerce Analytics button in the admin menu" issue
180
- * Small text improvements
181
- * Fixed an issue with Cusmin compatibility
182
-
183
  [SEE ALL LOGS](https://plugins.svn.wordpress.org/ag-custom-admin/trunk/changelog.txt)
184
 
185
  == Upgrade Notice ==
186
 
187
- = 7.0.1 =
188
- * Fixed bugs and added compatibility with Ninja Tables plugin
189
-
190
- = 7.0 =
191
- * Important security update. Security enforcement.
192
-
193
- = 6.9.5 =
194
- * Improved security
195
-
196
- = 6.9.4 =
197
- * Fixed compatibility issue with Woocommerce in the admin menu
4
  Tags: customize dashboard, hide admin bar, customize admin menu, customize login page, hide widgets, admin menu, dashboard, edit admin menu, admin bar, login page, widgets, customize admin
5
  Requires at least: 3.0
6
  Tested up to: 5.8
7
+ Stable tag: 7.0.2
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl.txt
10
 
159
 
160
  == Change Log ==
161
 
162
+ = 7.0.2 =
163
+ * Fixed compatibility issues with page builders
164
+ * Fixed warnings for AGCA script inclusion
165
+
166
  = 7.0.1 =
167
  * Tested up to PHP 8.1
168
  * Fixed HTML escaping issue for site title in admin bar
176
  * Properly using enqueue for scripts and dependencies
177
  * Small changes on General fields, better naming AGCA administrators > AGCA safe users
178
 
 
 
 
 
 
 
 
 
179
  [SEE ALL LOGS](https://plugins.svn.wordpress.org/ag-custom-admin/trunk/changelog.txt)
180
 
181
  == Upgrade Notice ==
182
 
183
+ = 7.0.2 =
184
+ * Fixed compatibility issues with page builders. Fixed warning messages.