Absolutely Glamorous Custom Admin - Version 6.9.4

Version Description

  • Fixed: "Cannot hide Woocommerce Analytics button in the admin menu" issue
  • Small text improvements
  • Fixed an issue with Cusmin compatibility
Download this release

Release Info

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

Code changes from version 6.9.3 to 6.9.4

Files changed (3) hide show
  1. changelog.txt +478 -0
  2. plugin.php +30 -11
  3. readme.txt +15 -772
changelog.txt ADDED
@@ -0,0 +1,478 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ == Change Log ==
2
+
3
+ = 6.9.4 =
4
+ * Fixed: "Cannot hide Woocommerce Analytics button in the admin menu" issue
5
+ * Small text improvements
6
+ * Fixed an issue with Cusmin compatibility
7
+
8
+ = 6.9.3 =
9
+ * Fixed blank login page, when jQuery is not defined
10
+
11
+ = 6.9.2 =
12
+ * Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
13
+
14
+ = 6.9.1 =
15
+ * Minor updates in text, links and Readme
16
+
17
+ = 6.9 =
18
+ * Important security updates
19
+
20
+ = 6.8.1 =
21
+ * WordPress 5.8 ready
22
+ * Fixing responsive issues
23
+ * Fixed low security issue reported
24
+
25
+ = 6.8 =
26
+ * Removed AGCA styling on the plugins page
27
+ * Added option to use the default WP styles on AGCA settings page
28
+ * Code cleanup
29
+
30
+ = 6.7.3 =
31
+ * Fixed issue with Meow gallery plugin menu item showing in AGCA menu editor
32
+ * Using clean menu names in AGCA menu editor for plugin authors who use custom admin menu styles
33
+
34
+ = 6.7.2 =
35
+ * Fixed AGCA styling on plugins page
36
+
37
+ = 6.7.1 =
38
+ * Removed support for AGCA themes
39
+ * Added option to remove **Site Health** dashboard widget
40
+ * Fixed issue not excluding AGCA admin when hiding admin bar on site pages
41
+ * Styled AGCA on plugins page
42
+
43
+ = 6.7 =
44
+ * WP 5.7 compatibility
45
+ * New AGCA brand
46
+ * Improved admin UX
47
+
48
+ = 6.6.3 =
49
+ * WP 5.6.1 compatibility
50
+ * Round options improvements
51
+ * Added option to skip rounding of the login page logo image
52
+
53
+ = 6.6.2 =
54
+ * WP 5.5.1 compatibility
55
+
56
+ = 6.6.1 =
57
+ * Updating text labels
58
+
59
+ = 6.6 =
60
+ * Fix for the loopback check by Site Health
61
+
62
+ = 6.5.5 =
63
+ * Improved security
64
+ * Small updates
65
+ * Updated dynamic.php script
66
+
67
+ = 6.5.4 =
68
+ * Compatibility w/ 5.3.2
69
+
70
+ = 6.5.3 =
71
+ * Compatibility w/ 5.2.3
72
+
73
+ = 6.5.2 =
74
+ * Compatibility w/ 5.1.1
75
+
76
+ = 6.5.1 =
77
+ * Compatibility w/ 5.1
78
+
79
+ = 6.5 =
80
+ * French translation
81
+
82
+ = 6.4.1 =
83
+ * Fixed fatal error
84
+
85
+ = 6.4 =
86
+ * Fixed custom Howdy issue
87
+
88
+ = 6.3 =
89
+ * Fixed custom Howdy for Netherland's WP
90
+
91
+ = 6.2 =
92
+ * Fixed 500 error in Multisite
93
+
94
+ = 6.1 =
95
+ * Fixed Log Out button issue
96
+
97
+ = 6.0.1 =
98
+ * Bug fixes.
99
+
100
+ = 6.0 =
101
+ * AGCA Re-branding
102
+ * Added support for shortcodes in custom dashboard content
103
+
104
+ = 5.7.4 =
105
+ * Updated plugin links to secure links
106
+
107
+ = 5.7.3 =
108
+ * Fix for ABSPATH value
109
+ * Added option to hide profile color scheme
110
+
111
+ = 5.7.1 =
112
+ * Added General Options tests
113
+
114
+ = 5.7 =
115
+ * Added Save button on top
116
+ * Resolved blank page issue on first time install
117
+ * Few other small improvements
118
+ * Ready for WP 4.7
119
+ * Resolved issue: QuotaExceededError due to LocalStorage when Private Browsing in Safari
120
+ * Added acceptance test suite
121
+
122
+ = 5.6.5 =
123
+ * Resolved Colorizer background color issue in WP 4.6
124
+ * Removed AGCA script from admin bar front end when user is not logged in
125
+ * Removed WP version from AGCA front end script
126
+ * Login page compatibility with WP Cerber plugin
127
+
128
+ = 5.6.4 =
129
+ * Added option to remove Customize button from admin bar on front end
130
+ * Re-organized admin hooks
131
+ * Changed icons for removing Profile and Customize buttons from "plus" to "eye" icon
132
+
133
+ = 5.6.3 =
134
+ * Compatibility with WordPress 4.6
135
+ * Resolved styling issue for AGCA admin menu button, when default menu is hidden
136
+ * Improved styling of admin bar logo
137
+ * A couple of visual improvements on input fields and text
138
+ * Removed dashboard empty box placeholders
139
+
140
+ = 5.6.2 =
141
+ * Updated readme.txt
142
+
143
+ = 5.6.1 =
144
+ * Added branding images for AGCA
145
+ * Protocol agnostic jQuery script url on login page
146
+ * Updated upgrade options
147
+
148
+ = 5.6 =
149
+ * Internationalization, ready for translation
150
+ * Added option for removing Profile menu item from user's menu
151
+ * Added patch for network admin dashboard notices
152
+ * Code refactoring
153
+ * Resolved save issues in multi-site environment (POST validation failing)
154
+ * Added patch for WPS Hide Login compatibility in multi-site environment
155
+ * Added max width for custom admin header image
156
+ * Removed "sub-menu" text from sub menu items in admin menu editor
157
+
158
+ = 5.5 =
159
+ * Resolved JavaScript error on AGCA page in WP 4.5 version
160
+ * Added compatibility support with Cusmin plugin
161
+ * Added compatibility support with WPS Hide Login plugin
162
+ * Changed plugin versioning
163
+
164
+ = 1.5.4.3 =
165
+ * Patched security issues.
166
+
167
+ = 1.5.4.2 =
168
+ * Fixed new post blank page issue
169
+
170
+ = 1.5.4 =
171
+ * Patched security issues
172
+ * Added support for custom CSS on public pages
173
+ * Fixed appearance issus for custom admin bar icon and log out button on mobile devices and smaller screens
174
+ * Fixed missing link issue with Back to blog link when custom name is used
175
+ * Added AGCA social buttons
176
+ * Fixed broken links in admin bar and plugins page on multisite network site
177
+ * Removed php short tags that are not supported in older PHP versions
178
+ * Updated license to GPLv3
179
+
180
+ = 1.5.2 =
181
+ * Small UX improvements on options
182
+
183
+ = 1.5.1 =
184
+ * Added support for older PHP versions, starting from 5.2
185
+
186
+ = 1.5 =
187
+ * Improved UX with new icons and styles
188
+ * Fixed admin menu issues when menu is updated outside of AGCA
189
+ * Code reorganizing
190
+ * Using dashboard icons instead of images
191
+ * Updated option names
192
+
193
+ = 1.4.9 =
194
+ * Issues fixed
195
+
196
+ = 1.4.8.2 =
197
+ * Added check for non existing 'pagenow' GLOBAL variable
198
+ * Using default WordPress theme when AGCA theme is activated
199
+ * Fixed unknown font theme issue
200
+ * Option to remove AGCA themes from admin bar
201
+
202
+ = 1.4.8.1 =
203
+ * Small bug fix
204
+
205
+ = 1.4.8 =
206
+ * Style improvements
207
+ * Tab navigation remembers previously used tab
208
+
209
+ = 1.4.7 =
210
+ * Removed AG Custom Admin menu top item
211
+ * Better error handling
212
+
213
+ = 1.4.6 =
214
+ * Removed obsolete Colorizer's border options
215
+ * Removed obsolete code
216
+ * Changed some options labels/descriptions
217
+ * Handling user's errors caused by mistake in Custom JS
218
+ * Removed first and second menu item separator options, replaced with remove all separators option
219
+
220
+ = 1.4.5 =
221
+ * Fixed issues
222
+
223
+ = 1.4.4 =
224
+ * Admin themes, caching support
225
+
226
+ = 1.4.3 =
227
+ * Fixes admin bar compatibility issue with BuddyPress on public pages
228
+ * Dashboard -> Updates submenu item can be hidden now
229
+ * Added address bar option for debugging
230
+
231
+ = 1.4.2 =
232
+ * Internal links changes, support for the new support site domain
233
+
234
+ = 1.4.1 =
235
+ * Support up to WordPress 4.1
236
+ * Improved branding
237
+ * Better error handling
238
+
239
+ = 1.4 =
240
+ * Fixed issue with Colorizer. Updated plugin colors.
241
+
242
+ = 1.3.9 =
243
+ * Fixed issue on Dashboard widgets page: Disabled third-party widget cannot be re-enabled
244
+
245
+ = 1.3.8 =
246
+ * Central alignment for smaller login images, and for different form widths
247
+ * Option to remove "WordPress News" dashboard widget
248
+ * Better "Error Caught" message with more useful information
249
+
250
+ = 1.3.7 =
251
+ * Fixed issues with custom dashboard content
252
+
253
+ = 1.3.6 =
254
+ * Fixed issues with special characters in admin menu editor
255
+
256
+ = 1.3.5 =
257
+ * Prepared for WordPress 3.9
258
+ * Fixed style for custom Howdy name
259
+
260
+ = 1.3.4 =
261
+ * Fixed add_filter undefined function error
262
+ * Better exception handling
263
+
264
+ = 1.3.3 =
265
+ * Fixed compatibility issues with MailPoet plugin
266
+
267
+ = 1.3.2 =
268
+ * Bug fixes
269
+
270
+ = 1.3.1 =
271
+ * First production version with AGCA Themes
272
+
273
+ = 1.3 =
274
+ * Introducing AG Custom Admin Themes
275
+
276
+ = 1.2.8 =
277
+ * Fixed PHP errors in DEBUG mode
278
+
279
+ = 1.2.7.9 =
280
+ * Fixed remove admin submenu arrow option in WordPress 3.8
281
+
282
+ = 1.2.7.8 =
283
+ * Fixed admin menu bug
284
+
285
+ = 1.2.7.7 =
286
+ * Updated options labels
287
+ * Better checkbox and radio box styles
288
+ * Some additional style improvements
289
+ * Updated option for auto folding admin menu on mobile devices
290
+ * Fixed AGCA error popup on reset password page
291
+
292
+ = 1.2.7.6 =
293
+ * Better style for close button
294
+ * Fixed bugs when adding new admin menu buttons
295
+
296
+ = 1.2.7.5 =
297
+ * Better style for close button
298
+ * Removed deprecated jQuery live function
299
+ * Including jQuery migrate plugin on Advanced tab
300
+
301
+ = 1.2.7.4 =
302
+ * Removing submenu box on mouseover, if all submenu items are hidden (Fixed empty box issue)
303
+ * Added WYSIWYG editor for Dashboard page
304
+
305
+ = 1.2.7.3 =
306
+ * Fixed single quote character escaping on several settings
307
+ * Added option for removing AGCA JS warning message
308
+ * Fixed "Illegal string offset" server error
309
+
310
+ = 1.2.7.2 =
311
+ * Escaping characters (like single quote) in footer text
312
+ * Fixed AGCA alert message issue
313
+ * Prepared for 3.6. WordPress release
314
+ * Other bug fixes.
315
+
316
+ = 1.2.7.1 =
317
+ * Removed AGCA script on site pages automatically, if user is not logged in
318
+ * Custom WordPress admin title. Using custom title templates
319
+ * Added option for removing blog title from top bar
320
+ * Fixed misaligned menu when using custom content types plugins
321
+ * Fixed bug "Save button does not work" caused by unescaped characters in footer text and custom button names
322
+ * Updated AGCA buttons styles
323
+
324
+ = 1.2.7 =
325
+ * WordPress 3.5 compatible
326
+ * Added login page background color
327
+ * Resolving jQuery script
328
+ * Added feedback buttons (positive/negative)
329
+ * Better user's experience (updated form buttons and textbooks)
330
+ * Fixed problem with Howdy renaming
331
+
332
+ = 1.2.6.5 =
333
+ * using capabilities instead of user levels
334
+ * define who is admin with choosing capability (Advanced tab)
335
+ * added option to hide admin bar on front end only
336
+ * added option to remove all AGCA customizations on front end
337
+ * added option to remove register button on login page
338
+ * added option to change hyperlink on register button on login page
339
+ * added option to remove "Lost Password" link on login page
340
+ * added support for collapse button on customized admin menu
341
+ * option to show/hide collapse button on admin menu
342
+ * added styles for collapsed menu
343
+ * added WP filter to remove admin bar on front page
344
+ * applying admin bar colors on front page
345
+ * fixed blank space in admin panel when admin bar is removed
346
+ * fixed some bugs in Colorizer, better updating of input box colors, triggering colors on input box change, improved realtime color updating
347
+ * adding jQuery script on login page only if it is not already loaded
348
+ * fixed background-size issue on login page image in chrome and some other browsers
349
+ * updated important message on admin menu tab
350
+
351
+ = 1.2.6.4 =
352
+ * Removing plugin options on plugin uninstall instead of on plugin deactivation
353
+ * Refreshed some button styles
354
+ * "But show logout button" option auto-hiding
355
+ * Fixed repeat login image bug
356
+ * Fixed bug on loading news
357
+
358
+ = 1.2.6.3 =
359
+ * Included Colorizer ON/OFF option to exported settings
360
+ * Automatically saving settings after importing
361
+ * Fixed issue with admin bar on site pages
362
+ * Added option for switching between admin and site pages(on WP logo, top left corner on admin bar)
363
+ * Fixed custom Howdy text for other languages than English.
364
+
365
+ = 1.2.6.2 =
366
+ * Added custom brand logo url
367
+ * Added %BLOG% variables for custom urls
368
+ * Option for removing custom admin menu settings in export
369
+
370
+ = 1.2.6.1 =
371
+ * Bug fixes
372
+ * Added +/- indicators to admin menu editor
373
+ * Custom top bar logo can be of any width. Height is expanded to 28px
374
+ * Saving custom scripts to database instead of saving to files
375
+ * Fixed error message on WordPress thick-box window
376
+ * Removed About WordPress message on top bar logo(on mouseover)
377
+ * Using %BLOG% variable as hyperlink on login page image
378
+ * Few other fixes on WordPress top bar
379
+ * Fixed color bug on admin menu hover()
380
+
381
+ = 1.2.6 =
382
+ * Fixed hiding top bar issue for site pages
383
+ * Fixed issues with custom content on Dashboard page. Any custom HTML can be used now.
384
+ * Custom CSS script support
385
+ * Custom JAvaScript support
386
+ * Exporting / importing AG Custom Admin customizations
387
+ * Added custom branding field above the admin menu for adding custom brand images
388
+ * Rounding admin menu popups and login page
389
+ * Option for removing Welcome dashboard widget
390
+ * New Colorizer options for admin menu, top bar
391
+ * New AGCA info area
392
+ * Fixed caching issues on updates
393
+
394
+ = 1.2.5.4 =
395
+ * Fixed fatal error from version 1.2.5.3
396
+
397
+ = 1.2.5.3 =
398
+ * Fixed issues related to WP 3.3.1 version
399
+ * Fixed bug: Hiding/changing top admin bar WP icon
400
+ * Advanced customization of admin top bar
401
+ * Added options for hiding admin top bar elements
402
+ * Login page background same as admin background
403
+ * Added target options for custom admin buttons
404
+
405
+ = 1.2.5.2 =
406
+ * Fixed several issues with WP 3.3
407
+ * Added options for hiding "comments" and "new" from admin bar
408
+ * Support for custom admin bar images
409
+ * Support for custom Log Out text
410
+ * Hide everything except Log Out button works now
411
+ * Removed few obsolete options
412
+ * Removing "Edit My Profile"
413
+ * Fixed bug when trying to edit custom buttons in admin menu
414
+
415
+ = 1.2.5.1 =
416
+ * Plugin tested up to 3.3
417
+ * Fixed major issues with WP 3.3. version
418
+ * Fixed bug when trying to edit custom buttons in admin menu
419
+
420
+ = 1.2.5 =
421
+ * Plugin tested up to 3.2.1
422
+ * Fixed some compatibility issues with other plugins
423
+ * Tested compatibility with Ozh' Admin Drop Down Menu v3.6.1
424
+ * Tested compatibility with SexyBookmarks (by Shareaholic) v4.0.5.6
425
+ * Fixed blank screen of death if an error from outside of plugin is thrown
426
+ * Improved error handling and showing
427
+ * Improved versioning
428
+
429
+ = 1.2.4 =
430
+ * Plugin is now fully compatible with WordPress version 3.2
431
+ * Fixed update notification bar for lower WP versions
432
+ * Login image can be now of any size.
433
+ * Improved error management
434
+ * Added options in 3.2 for changing background behind admin menu
435
+ * Added option in 3.2 for removing "Your profile" from admin bar
436
+ * Added invalid characters escaping when adding new custom buttons
437
+ * Fixed few minor issues
438
+
439
+ = 1.2.3 =
440
+ * Added Colorizer options for changing widgets colors.
441
+ * Added option for changing logo image in admin bar with custom image.
442
+ * Fixed bug on add new post page: After clicking on buttons Add new image, Add new media pop-up window is blank.
443
+ * Added info bar for displaying news and information about plugin.
444
+ * Fixed few issues.
445
+
446
+ = 1.2.2 =
447
+ * Added Colorizer for changing colors in admin and login panel
448
+ * Added option for excluding admin from settings.
449
+ * Fixed bug for slow computers: Default settings are visible few moments before applying custom settings.
450
+ * Added option for removing icons from admin menu buttons
451
+
452
+ = 1.2.1 =
453
+ * Improved accessibility
454
+ * Optimization for screen readers
455
+ * Added sub-page titles
456
+ * Updated styles in edit admin menu table
457
+
458
+ = 1.2 =
459
+ * All elements are grouped into small pages for better navigation.
460
+ * Added color styles and improved user experience.
461
+ * Added settings page for fully control of main admin menu.
462
+ * Added support for hiding items from admin menu.
463
+ * Added support for changing items in admin menu.
464
+ * Added support for adding new custom items in admin menu.
465
+ * Added tool tips on option labels for better explanation of option.
466
+ * Deprecated 'Hide Dashboard button from main menu' in 'Dashboard settings'. This option can be used now in 'Admin menu settings'.
467
+ * Added settings for hiding/showing Dashboard widgets:"Recent Comments", "Incoming Links", "Plugins", "Quick Press", "Right Now", "Recent Drafts", primary widget area, secondary widget area.
468
+ * Added option "(but show 'Log Out' button)" for displaying 'Log Out' button if admin top bar is completely removed.
469
+ * Added option "Hide footer text".
470
+ * Added support for hiding new WordPress release notification.
471
+
472
+ = 1.0.1 =
473
+ * Changed text in Settings page to be more clearer.
474
+ * Updated list of options on plugin page
475
+ * Removed blank characters in text areas
476
+
477
+ = 1.0 =
478
+ * Initial version
plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Absolutely Glamorous Custom Admin
4
  Plugin URI: https://cusmin.com/agca
5
  Description: All-in-one plugin for WordPress dashboard customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
6
  Author: Cusmin
7
- Version: 6.9.3
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 = "6.9.3";
32
  private $colorizer = "";
33
  private $agca_debug = false;
34
  private $admin_capabilities;
@@ -1007,7 +1007,7 @@ class AGCA{
1007
  }
1008
 
1009
  function wp_admin_bar_my_custom_account_menu( $wp_admin_bar ) {
1010
- if(get_option('agca_howdy')!=""){
1011
  $user_id = get_current_user_id();
1012
  $current_user = wp_get_current_user();
1013
  $profile_url = get_edit_profile_url( $user_id );
@@ -1181,14 +1181,13 @@ class AGCA{
1181
  $m = array();
1182
  foreach($menu as $top){
1183
  $name = $top[0];
1184
- $url = htmlentities($top[2]);
1185
  $cls = isset($top[5])?$top[5]:"";
1186
  $remove = false;
1187
  if($name == '') continue;
1188
  $pc = null;
1189
  $name = htmlentities($this->menu_item_cleartext($name));
1190
 
1191
-
1192
  //apply previous submenu customizations
1193
  if($customizationsSet && isset($previousCustomizations[$url])){
1194
  $pc = $previousCustomizations[$url];
@@ -1207,7 +1206,7 @@ class AGCA{
1207
  'name'=>$nameSub,
1208
  'new'=>'',
1209
  'remove'=>$removeSub,
1210
- 'url'=>$urlSub
1211
  );
1212
 
1213
  if(isset($pc['submenus'][$key])){
@@ -1228,7 +1227,7 @@ class AGCA{
1228
  'name'=>$name,
1229
  'remove'=>$remove,
1230
  'new'=>'',
1231
- 'url'=>$url,
1232
  'cls'=>$cls,
1233
  'submenus'=>$s
1234
  );
@@ -1250,13 +1249,14 @@ class AGCA{
1250
  */
1251
  function customized_menu(){
1252
  $customizations = $this->get_menu_customizations();
 
1253
  global $menu;
1254
  global $submenu;
1255
 
1256
- //print_r($submenu);die;
1257
  //apply customizations to original admin menu
1258
  foreach($menu as $key=>$top){
1259
  $url = $top[2];
 
1260
  if(isset($customizations[$url])){
1261
  $topCustomized = $customizations[$url];
1262
  if($topCustomized['new']) {
@@ -1267,6 +1267,7 @@ class AGCA{
1267
  }
1268
  }
1269
  }
 
1270
  foreach($submenu as $topkey=>$subs){
1271
  foreach($subs as $subkey=>$sub){
1272
  if(isset($customizations[$topkey]['submenus'][$subkey])){
@@ -1367,8 +1368,26 @@ class AGCA{
1367
  update_option('ag_edit_adminmenu_json','');//remove previous admin menu configuration
1368
  update_option('ag_edit_adminmenu_json_new',json_encode($customizations));
1369
  }
 
 
1370
  function isCusminActive(){
1371
- return $this->isPluginActive('cusmin/cusmin.php');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1372
  }
1373
  function isPluginActive($plugin){
1374
  if(!is_admin()){
@@ -2596,7 +2615,7 @@ class AGCA{
2596
  'title'=>__('Removes Profile menu item for non-admin users.', 'ag-custom-admin'),
2597
  'hide'=>true,
2598
  'name'=>'agca_menu_remove_client_profile',
2599
- 'label'=>__('Remove Profile button from user menu', 'ag-custom-admin'),
2600
  ));
2601
  $this->print_checkbox(array(
2602
  'title'=>__('Removes Customize button on front end for authenticated users.', 'ag-custom-admin'),
@@ -2607,7 +2626,7 @@ class AGCA{
2607
  ?>
2608
  <tr>
2609
  <td>
2610
- <p>Try the Cusmin admin menu editor instead: <a href="https://cusmin.com/upgrade-to-cusmin/?ref=agca-menu#group-admin-menu" target="_blank"><br>Upgrade to Cusmin</a></p>
2611
  </td>
2612
  </tr>
2613
 
4
  Plugin URI: https://cusmin.com/agca
5
  Description: All-in-one plugin for WordPress dashboard customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
6
  Author: Cusmin
7
+ Version: 6.9.4
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 = "6.9.4";
32
  private $colorizer = "";
33
  private $agca_debug = false;
34
  private $admin_capabilities;
1007
  }
1008
 
1009
  function wp_admin_bar_my_custom_account_menu( $wp_admin_bar ) {
1010
+ if(get_option('agca_howdy')!="" && !$this->isCusminActive()){
1011
  $user_id = get_current_user_id();
1012
  $current_user = wp_get_current_user();
1013
  $profile_url = get_edit_profile_url( $user_id );
1181
  $m = array();
1182
  foreach($menu as $top){
1183
  $name = $top[0];
1184
+ $url = $top[2];
1185
  $cls = isset($top[5])?$top[5]:"";
1186
  $remove = false;
1187
  if($name == '') continue;
1188
  $pc = null;
1189
  $name = htmlentities($this->menu_item_cleartext($name));
1190
 
 
1191
  //apply previous submenu customizations
1192
  if($customizationsSet && isset($previousCustomizations[$url])){
1193
  $pc = $previousCustomizations[$url];
1206
  'name'=>$nameSub,
1207
  'new'=>'',
1208
  'remove'=>$removeSub,
1209
+ 'url'=>htmlentities($urlSub)
1210
  );
1211
 
1212
  if(isset($pc['submenus'][$key])){
1227
  'name'=>$name,
1228
  'remove'=>$remove,
1229
  'new'=>'',
1230
+ 'url'=>htmlentities($url),
1231
  'cls'=>$cls,
1232
  'submenus'=>$s
1233
  );
1249
  */
1250
  function customized_menu(){
1251
  $customizations = $this->get_menu_customizations();
1252
+
1253
  global $menu;
1254
  global $submenu;
1255
 
 
1256
  //apply customizations to original admin menu
1257
  foreach($menu as $key=>$top){
1258
  $url = $top[2];
1259
+
1260
  if(isset($customizations[$url])){
1261
  $topCustomized = $customizations[$url];
1262
  if($topCustomized['new']) {
1267
  }
1268
  }
1269
  }
1270
+
1271
  foreach($submenu as $topkey=>$subs){
1272
  foreach($subs as $subkey=>$sub){
1273
  if(isset($customizations[$topkey]['submenus'][$subkey])){
1368
  update_option('ag_edit_adminmenu_json','');//remove previous admin menu configuration
1369
  update_option('ag_edit_adminmenu_json_new',json_encode($customizations));
1370
  }
1371
+
1372
+ //Checks for Cusmin active status on back-end and front-end
1373
  function isCusminActive(){
1374
+ //return $this->isPluginActive('cusmin/cusmin.php');
1375
+ try {
1376
+ if(!is_admin()) {
1377
+ //if cusmin option don't exist in DB, it's not active
1378
+ if(empty(get_option('cusmin'))) {
1379
+ return false;
1380
+ }else { //if cusmin options exist, then include script to check if cusmin is active or not
1381
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
1382
+ }
1383
+ }
1384
+ if(!function_exists('is_plugin_active')) {
1385
+ return false;
1386
+ }
1387
+ return is_plugin_active('cusmin/cusmin.php');
1388
+ }catch (\Exception $e){
1389
+ return false;
1390
+ }
1391
  }
1392
  function isPluginActive($plugin){
1393
  if(!is_admin()){
2615
  'title'=>__('Removes Profile menu item for non-admin users.', 'ag-custom-admin'),
2616
  'hide'=>true,
2617
  'name'=>'agca_menu_remove_client_profile',
2618
+ 'label'=>__('Remove Profile button from the user menu', 'ag-custom-admin'),
2619
  ));
2620
  $this->print_checkbox(array(
2621
  'title'=>__('Removes Customize button on front end for authenticated users.', 'ag-custom-admin'),
2626
  ?>
2627
  <tr>
2628
  <td>
2629
+ <p>Try Cusmin admin menu editor instead: <a href="https://cusmin.com/upgrade-to-cusmin/?ref=agca-menu#group-admin-menu" target="_blank"><br>Upgrade to Cusmin</a></p>
2630
  </td>
2631
  </tr>
2632
 
readme.txt CHANGED
@@ -1,14 +1,14 @@
1
- === Absolutely Glamorous Custom Admin ===
2
  Contributors: cusmin
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&amount=10&item_name=Support+for+AGCA+Development
4
- Tags: admin, dashboard, customize, hide, admin bar, login page, admin menu, colors, branding, dashboard widgets
5
  Requires at least: 3.0
6
  Tested up to: 5.8
7
- Stable tag: 6.9.3
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl.txt
10
 
11
- All-in-one plugin for WordPress dashboard customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
12
 
13
  == Description ==
14
  With this plugin you can easily customize WordPress **admin panel**, **login page**, **admin menu**, **admin bar** etc. in tiny details.
@@ -74,7 +74,7 @@ With this plugin you can easily customize WordPress **admin panel**, **login pag
74
  * Round corners on login boxes
75
  * Hide register and lost password links
76
  * Change hyperlink on register button
77
-
78
  = Admin Menu Options =
79
  * Rename menu and sub-menu items
80
  * Hide menu and sub-menu items
@@ -87,9 +87,9 @@ With this plugin you can easily customize WordPress **admin panel**, **login pag
87
  * Add custom branding image above the admin menu
88
  * Add custom link to branding image
89
  * Change admin menu auto-folding settings
90
-
91
  = Colorizer =
92
- * Change background and text colors on admin and login page
93
  * Change admin menu colors
94
  * Change widget colors
95
 
@@ -159,479 +159,10 @@ If you have the latest WordPress and plugin versions, and you still experience s
159
 
160
  == Change Log ==
161
 
162
- = 6.9.3 =
163
- * Fixed blank login page, when jQuery is not defined
164
-
165
- = 6.9.2 =
166
- * Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
167
-
168
- = 6.9.1 =
169
- * Minor updates in text, links and Readme
170
-
171
- = 6.9 =
172
- * Important security updates
173
-
174
- = 6.8.1 =
175
- * WordPress 5.8 ready
176
- * Fixing responsive issues
177
- * Fixed low security issue reported
178
-
179
- = 6.8 =
180
- * Removed AGCA styling on the plugins page
181
- * Added option to use the default WP styles on AGCA settings page
182
- * Code cleanup
183
-
184
- = 6.7.3 =
185
- * Fixed issue with Meow gallery plugin menu item showing in AGCA menu editor
186
- * Using clean menu names in AGCA menu editor for plugin authors who use custom admin menu styles
187
-
188
- = 6.7.2 =
189
- * Fixed AGCA styling on plugins page
190
-
191
- = 6.7.1 =
192
- * Removed support for AGCA themes
193
- * Added option to remove **Site Health** dashboard widget
194
- * Fixed issue not excluding AGCA admin when hiding admin bar on site pages
195
- * Styled AGCA on plugins page
196
-
197
- = 6.7 =
198
- * WP 5.7 compatibility
199
- * New AGCA brand
200
- * Improved admin UX
201
-
202
- = 6.6.3 =
203
- * WP 5.6.1 compatibility
204
- * Round options improvements
205
- * Added option to skip rounding of the login page logo image
206
-
207
- = 6.6.2 =
208
- * WP 5.5.1 compatibility
209
-
210
- = 6.6.1 =
211
- * Updating text labels
212
-
213
- = 6.6 =
214
- * Fix for the loopback check by Site Health
215
-
216
- = 6.5.5 =
217
- * Improved security
218
- * Small updates
219
- * Updated dynamic.php script
220
-
221
- = 6.5.4 =
222
- * Compatibility w/ 5.3.2
223
-
224
- = 6.5.3 =
225
- * Compatibility w/ 5.2.3
226
-
227
- = 6.5.2 =
228
- * Compatibility w/ 5.1.1
229
-
230
- = 6.5.1 =
231
- * Compatibility w/ 5.1
232
-
233
- = 6.5 =
234
- * French translation
235
-
236
- = 6.4.1 =
237
- * Fixed fatal error
238
-
239
- = 6.4 =
240
- * Fixed custom Howdy issue
241
-
242
- = 6.3 =
243
- * Fixed custom Howdy for Netherland's WP
244
-
245
- = 6.2 =
246
- * Fixed 500 error in Multisite
247
-
248
- = 6.1 =
249
- * Fixed Log Out button issue
250
-
251
- = 6.0.1 =
252
- * Bug fixes.
253
-
254
- = 6.0 =
255
- * AGCA Re-branding
256
- * Added support for shortcodes in custom dashboard content
257
-
258
- = 5.7.4 =
259
- * Updated plugin links to secure links
260
-
261
- = 5.7.3 =
262
- * Fix for ABSPATH value
263
- * Added option to hide profile color scheme
264
-
265
- = 5.7.1 =
266
- * Added General Options tests
267
-
268
- = 5.7 =
269
- * Added Save button on top
270
- * Resolved blank page issue on first time install
271
- * Few other small improvements
272
- * Ready for WP 4.7
273
- * Resolved issue: QuotaExceededError due to LocalStorage when Private Browsing in Safari
274
- * Added acceptance test suite
275
-
276
- = 5.6.5 =
277
- * Resolved Colorizer background color issue in WP 4.6
278
- * Removed AGCA script from admin bar front end when user is not logged in
279
- * Removed WP version from AGCA front end script
280
- * Login page compatibility with WP Cerber plugin
281
-
282
- = 5.6.4 =
283
- * Added option to remove Customize button from admin bar on front end
284
- * Re-organized admin hooks
285
- * Changed icons for removing Profile and Customize buttons from "plus" to "eye" icon
286
-
287
- = 5.6.3 =
288
- * Compatibility with WordPress 4.6
289
- * Resolved styling issue for AGCA admin menu button, when default menu is hidden
290
- * Improved styling of admin bar logo
291
- * A couple of visual improvements on input fields and text
292
- * Removed dashboard empty box placeholders
293
-
294
- = 5.6.2 =
295
- * Updated readme.txt
296
-
297
- = 5.6.1 =
298
- * Added branding images for AGCA
299
- * Protocol agnostic jQuery script url on login page
300
- * Updated upgrade options
301
-
302
- = 5.6 =
303
- * Internationalization, ready for translation
304
- * Added option for removing Profile menu item from user's menu
305
- * Added patch for network admin dashboard notices
306
- * Code refactoring
307
- * Resolved save issues in multi-site environment (POST validation failing)
308
- * Added patch for WPS Hide Login compatibility in multi-site environment
309
- * Added max width for custom admin header image
310
- * Removed "sub-menu" text from sub menu items in admin menu editor
311
-
312
- = 5.5 =
313
- * Resolved JavaScript error on AGCA page in WP 4.5 version
314
- * Added compatibility support with Cusmin plugin
315
- * Added compatibility support with WPS Hide Login plugin
316
- * Changed plugin versioning
317
-
318
- = 1.5.4.3 =
319
- * Patched security issues.
320
-
321
- = 1.5.4.2 =
322
- * Fixed new post blank page issue
323
-
324
- = 1.5.4 =
325
- * Patched security issues
326
- * Added support for custom CSS on public pages
327
- * Fixed appearance issus for custom admin bar icon and log out button on mobile devices and smaller screens
328
- * Fixed missing link issue with Back to blog link when custom name is used
329
- * Added AGCA social buttons
330
- * Fixed broken links in admin bar and plugins page on multisite network site
331
- * Removed php short tags that are not supported in older PHP versions
332
- * Updated license to GPLv3
333
-
334
- = 1.5.2 =
335
- * Small UX improvements on options
336
-
337
- = 1.5.1 =
338
- * Added support for older PHP versions, starting from 5.2
339
-
340
- = 1.5 =
341
- * Improved UX with new icons and styles
342
- * Fixed admin menu issues when menu is updated outside of AGCA
343
- * Code reorganizing
344
- * Using dashboard icons instead of images
345
- * Updated option names
346
-
347
- = 1.4.9 =
348
- * Issues fixed
349
-
350
- = 1.4.8.2 =
351
- * Added check for non existing 'pagenow' GLOBAL variable
352
- * Using default WordPress theme when AGCA theme is activated
353
- * Fixed unknown font theme issue
354
- * Option to remove AGCA themes from admin bar
355
-
356
- = 1.4.8.1 =
357
- * Small bug fix
358
-
359
- = 1.4.8 =
360
- * Style improvements
361
- * Tab navigation remembers previously used tab
362
-
363
- = 1.4.7 =
364
- * Removed AG Custom Admin menu top item
365
- * Better error handling
366
-
367
- = 1.4.6 =
368
- * Removed obsolete Colorizer's border options
369
- * Removed obsolete code
370
- * Changed some options labels/descriptions
371
- * Handling user's errors caused by mistake in Custom JS
372
- * Removed first and second menu item separator options, replaced with remove all separators option
373
-
374
- = 1.4.5 =
375
- * Fixed issues
376
-
377
- = 1.4.4 =
378
- * Admin themes, caching support
379
-
380
- = 1.4.3 =
381
- * Fixes admin bar compatibility issue with BuddyPress on public pages
382
- * Dashboard -> Updates submenu item can be hidden now
383
- * Added address bar option for debugging
384
-
385
- = 1.4.2 =
386
- * Internal links changes, support for the new support site domain
387
-
388
- = 1.4.1 =
389
- * Support up to WordPress 4.1
390
- * Improved branding
391
- * Better error handling
392
-
393
- = 1.4 =
394
- * Fixed issue with Colorizer. Updated plugin colors.
395
-
396
- = 1.3.9 =
397
- * Fixed issue on Dashboard widgets page: Disabled third-party widget cannot be re-enabled
398
-
399
- = 1.3.8 =
400
- * Central alignment for smaller login images, and for different form widths
401
- * Option to remove "WordPress News" dashboard widget
402
- * Better "Error Caught" message with more useful information
403
-
404
- = 1.3.7 =
405
- * Fixed issues with custom dashboard content
406
-
407
- = 1.3.6 =
408
- * Fixed issues with special characters in admin menu editor
409
-
410
- = 1.3.5 =
411
- * Prepared for WordPress 3.9
412
- * Fixed style for custom Howdy name
413
-
414
- = 1.3.4 =
415
- * Fixed add_filter undefined function error
416
- * Better exception handling
417
-
418
- = 1.3.3 =
419
- * Fixed compatibility issues with MailPoet plugin
420
-
421
- = 1.3.2 =
422
- * Bug fixes
423
-
424
- = 1.3.1 =
425
- * First production version with AGCA Themes
426
-
427
- = 1.3 =
428
- * Introducing AG Custom Admin Themes
429
-
430
- = 1.2.8 =
431
- * Fixed PHP errors in DEBUG mode
432
-
433
- = 1.2.7.9 =
434
- * Fixed remove admin submenu arrow option in WordPress 3.8
435
-
436
- = 1.2.7.8 =
437
- * Fixed admin menu bug
438
-
439
- = 1.2.7.7 =
440
- * Updated options labels
441
- * Better checkbox and radio box styles
442
- * Some additional style improvements
443
- * Updated option for auto folding admin menu on mobile devices
444
- * Fixed AGCA error popup on reset password page
445
-
446
- = 1.2.7.6 =
447
- * Better style for close button
448
- * Fixed bugs when adding new admin menu buttons
449
-
450
- = 1.2.7.5 =
451
- * Better style for close button
452
- * Removed deprecated jQuery live function
453
- * Including jQuery migrate plugin on Advanced tab
454
-
455
- = 1.2.7.4 =
456
- * Removing submenu box on mouseover, if all submenu items are hidden (Fixed empty box issue)
457
- * Added WYSIWYG editor for Dashboard page
458
-
459
- = 1.2.7.3 =
460
- * Fixed single quote character escaping on several settings
461
- * Added option for removing AGCA JS warning message
462
- * Fixed "Illegal string offset" server error
463
-
464
- = 1.2.7.2 =
465
- * Escaping characters (like single quote) in footer text
466
- * Fixed AGCA alert message issue
467
- * Prepared for 3.6. WordPress release
468
- * Other bug fixes.
469
-
470
- = 1.2.7.1 =
471
- * Removed AGCA script on site pages automatically, if user is not logged in
472
- * Custom WordPress admin title. Using custom title templates
473
- * Added option for removing blog title from top bar
474
- * Fixed misaligned menu when using custom content types plugins
475
- * Fixed bug "Save button does not work" caused by unescaped characters in footer text and custom button names
476
- * Updated AGCA buttons styles
477
-
478
- = 1.2.7 =
479
- * WordPress 3.5 compatible
480
- * Added login page background color
481
- * Resolving jQuery script
482
- * Added feedback buttons (positive/negative)
483
- * Better user's experience (updated form buttons and textbooks)
484
- * Fixed problem with Howdy renaming
485
-
486
- = 1.2.6.5 =
487
- * using capabilities instead of user levels
488
- * define who is admin with choosing capability (Advanced tab)
489
- * added option to hide admin bar on front end only
490
- * added option to remove all AGCA customizations on front end
491
- * added option to remove register button on login page
492
- * added option to change hyperlink on register button on login page
493
- * added option to remove "Lost Password" link on login page
494
- * added support for collapse button on customized admin menu
495
- * option to show/hide collapse button on admin menu
496
- * added styles for collapsed menu
497
- * added WP filter to remove admin bar on front page
498
- * applying admin bar colors on front page
499
- * fixed blank space in admin panel when admin bar is removed
500
- * fixed some bugs in Colorizer, better updating of input box colors, triggering colors on input box change, improved realtime color updating
501
- * adding jQuery script on login page only if it is not already loaded
502
- * fixed background-size issue on login page image in chrome and some other browsers
503
- * updated important message on admin menu tab
504
-
505
- = 1.2.6.4 =
506
- * Removing plugin options on plugin uninstall instead of on plugin deactivation
507
- * Refreshed some button styles
508
- * "But show logout button" option auto-hiding
509
- * Fixed repeat login image bug
510
- * Fixed bug on loading news
511
-
512
- = 1.2.6.3 =
513
- * Included Colorizer ON/OFF option to exported settings
514
- * Automatically saving settings after importing
515
- * Fixed issue with admin bar on site pages
516
- * Added option for switching between admin and site pages(on WP logo, top left corner on admin bar)
517
- * Fixed custom Howdy text for other languages than English.
518
-
519
- = 1.2.6.2 =
520
- * Added custom brand logo url
521
- * Added %BLOG% variables for custom urls
522
- * Option for removing custom admin menu settings in export
523
-
524
- = 1.2.6.1 =
525
- * Bug fixes
526
- * Added +/- indicators to admin menu editor
527
- * Custom top bar logo can be of any width. Height is expanded to 28px
528
- * Saving custom scripts to database instead of saving to files
529
- * Fixed error message on WordPress thick-box window
530
- * Removed About WordPress message on top bar logo(on mouseover)
531
- * Using %BLOG% variable as hyperlink on login page image
532
- * Few other fixes on WordPress top bar
533
- * Fixed color bug on admin menu hover()
534
-
535
- = 1.2.6 =
536
- * Fixed hiding top bar issue for site pages
537
- * Fixed issues with custom content on Dashboard page. Any custom HTML can be used now.
538
- * Custom CSS script support
539
- * Custom JAvaScript support
540
- * Exporting / importing AG Custom Admin customizations
541
- * Added custom branding field above the admin menu for adding custom brand images
542
- * Rounding admin menu popups and login page
543
- * Option for removing Welcome dashboard widget
544
- * New Colorizer options for admin menu, top bar
545
- * New AGCA info area
546
- * Fixed caching issues on updates
547
-
548
- = 1.2.5.4 =
549
- * Fixed fatal error from version 1.2.5.3
550
-
551
- = 1.2.5.3 =
552
- * Fixed issues related to WP 3.3.1 version
553
- * Fixed bug: Hiding/changing top admin bar WP icon
554
- * Advanced customization of admin top bar
555
- * Added options for hiding admin top bar elements
556
- * Login page background same as admin background
557
- * Added target options for custom admin buttons
558
-
559
- = 1.2.5.2 =
560
- * Fixed several issues with WP 3.3
561
- * Added options for hiding "comments" and "new" from admin bar
562
- * Support for custom admin bar images
563
- * Support for custom Log Out text
564
- * Hide everything except Log Out button works now
565
- * Removed few obsolete options
566
- * Removing "Edit My Profile"
567
- * Fixed bug when trying to edit custom buttons in admin menu
568
-
569
- = 1.2.5.1 =
570
- * Plugin tested up to 3.3
571
- * Fixed major issues with WP 3.3. version
572
- * Fixed bug when trying to edit custom buttons in admin menu
573
-
574
- = 1.2.5 =
575
- * Plugin tested up to 3.2.1
576
- * Fixed some compatibility issues with other plugins
577
- * Tested compatibility with Ozh' Admin Drop Down Menu v3.6.1
578
- * Tested compatibility with SexyBookmarks (by Shareaholic) v4.0.5.6
579
- * Fixed blank screen of death if an error from outside of plugin is thrown
580
- * Improved error handling and showing
581
- * Improved versioning
582
-
583
- = 1.2.4 =
584
- * Plugin is now fully compatible with WordPress version 3.2
585
- * Fixed update notification bar for lower WP versions
586
- * Login image can be now of any size.
587
- * Improved error management
588
- * Added options in 3.2 for changing background behind admin menu
589
- * Added option in 3.2 for removing "Your profile" from admin bar
590
- * Added invalid characters escaping when adding new custom buttons
591
- * Fixed few minor issues
592
-
593
- = 1.2.3 =
594
- * Added Colorizer options for changing widgets colors.
595
- * Added option for changing logo image in admin bar with custom image.
596
- * Fixed bug on add new post page: After clicking on buttons Add new image, Add new media pop-up window is blank.
597
- * Added info bar for displaying news and information about plugin.
598
- * Fixed few issues.
599
-
600
- = 1.2.2 =
601
- * Added Colorizer for changing colors in admin and login panel
602
- * Added option for excluding admin from settings.
603
- * Fixed bug for slow computers: Default settings are visible few moments before applying custom settings.
604
- * Added option for removing icons from admin menu buttons
605
-
606
- = 1.2.1 =
607
- * Improved accessibility
608
- * Optimization for screen readers
609
- * Added sub-page titles
610
- * Updated styles in edit admin menu table
611
-
612
- = 1.2 =
613
- * All elements are grouped into small pages for better navigation.
614
- * Added color styles and improved user experience.
615
- * Added settings page for fully control of main admin menu.
616
- * Added support for hiding items from admin menu.
617
- * Added support for changing items in admin menu.
618
- * Added support for adding new custom items in admin menu.
619
- * Added tool tips on option labels for better explanation of option.
620
- * Deprecated 'Hide Dashboard button from main menu' in 'Dashboard settings'. This option can be used now in 'Admin menu settings'.
621
- * Added settings for hiding/showing Dashboard widgets:"Recent Comments", "Incoming Links", "Plugins", "Quick Press", "Right Now", "Recent Drafts", primary widget area, secondary widget area.
622
- * Added option "(but show 'Log Out' button)" for displaying 'Log Out' button if admin top bar is completely removed.
623
- * Added option "Hide footer text".
624
- * Added support for hiding new WordPress release notification.
625
-
626
- = 1.0.1 =
627
- * Changed text in Settings page to be more clearer.
628
- * Updated list of options on plugin page
629
- * Removed blank characters in text areas
630
-
631
- = 1.0 =
632
- * Initial version
633
-
634
- == Upgrade Notice ==
635
 
636
  = 6.9.3 =
637
  * Fixed blank login page, when jQuery is not defined
@@ -639,297 +170,9 @@ If you have the latest WordPress and plugin versions, and you still experience s
639
  = 6.9.2 =
640
  * Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
641
 
642
- = 6.9.1 =
643
- * Minor updates in text, links and Readme
644
-
645
- = 6.9 =
646
- * Important security updates
647
-
648
- = 6.8.1 =
649
- * WordPress 5.8 ready, responsive improvements and bug fixing
650
-
651
- = 6.8 =
652
- * AGCA cleanup. Using the default WordPress styles
653
-
654
- = 6.7.3 =
655
- * Fixed issue with Meow menu item showing in AGCA menu editor
656
-
657
- = 6.7.2 =
658
- * Removed support for AGCA themes. If you're using old AGCA themes, please don't upgrade AGCA.
659
- * Cleanup and improvements
660
- * Fixed AGCA styling on plugins page
661
-
662
- = 6.7.1 =
663
- * Removed support for AGCA themes. If you're using old AGCA themes, please don't upgrade AGCA.
664
- * Cleanup and improvements
665
-
666
- = 6.7 =
667
- * WP 5.7 compatibility
668
- * New AGCA brand and improved admin UX
669
-
670
- = 6.6.3 =
671
- * WP 5.6 compatibility and rounding options improvements
672
-
673
- = 6.6.2 =
674
- * WP 5.5.1 compatibility
675
-
676
- = 6.6.1 =
677
- * Updating text labels
678
-
679
- = 6.6 =
680
- * Fix for the loopback check by Site Health
681
-
682
- = 6.5.5 =
683
- * Improved security
684
- * Small updates
685
-
686
- = 6.5.4 =
687
- * Compatibility w/ 5.3.2
688
-
689
- = 6.5.3 =
690
- * Compatibility w/ 5.2.3
691
-
692
- = 6.5.2 =
693
- * Compatibility w/ 5.1.1
694
-
695
- = 6.5.1 =
696
- * Compatibility w/ 5.1
697
-
698
- = 6.5 =
699
- * French translation
700
-
701
- = 6.4.1 =
702
- * Fixed fatal error
703
-
704
- = 6.4 =
705
- * Fixed custom Howdy issue
706
-
707
- = 6.3 =
708
- * Fixed custom Howdy for Netherland's WP
709
-
710
- = 6.2 =
711
- * Fixed 500 error in Multisite
712
-
713
- = 6.1 =
714
- * Fixed Log Out button issue
715
-
716
- = 6.0.1 =
717
- * Bug fixes
718
-
719
- = 6.0 =
720
- * AGCA Re-branding and improvements
721
-
722
- = 5.7.4 =
723
- * Updated plugin links to secure links
724
-
725
- = 5.7.3 =
726
- * Fix for ABSPATH value, and added option to hide profile color scheme
727
-
728
- = 5.7.1 =
729
- * Added tests.
730
-
731
- = 5.7 =
732
- * Bug fixes. Ready for WordPress 4.7.
733
-
734
- = 5.6.5 =
735
- * Compatibility improvements
736
-
737
- = 5.6.4 =
738
- * Added new setting. Improvements.
739
-
740
- = 5.6.3 =
741
- * Compatibility with WordPress 4.6
742
-
743
- = 5.6.2 =
744
- * Updated readme
745
-
746
- = 5.6.1 =
747
- * Minor plugin changes
748
-
749
- = 5.6 =
750
- * Internationalization. Support for removing admin menu Profile button. Other patches and compatibility fixes.
751
 
752
- = 5.5 =
753
- * Compatibility updates with WP 4.5 and some other plugins
754
-
755
- = 1.5.4.3 =
756
- * Patched security issues.
757
-
758
- = 1.5.4.2 =
759
- * Fixed new post blank page issue.
760
-
761
- = 1.5.4 =
762
- * Fixed several very important issues. Highly recommended upgrade.
763
-
764
- = 1.5.2 =
765
- * Small UX improvements on options
766
-
767
- = 1.5.1 =
768
- * Added support for older PHP versions, starting from 5.2
769
-
770
- = 1.5 =
771
- * Improved UX with new icons and styles
772
- * Fixed admin menu issues when menu is updated outside of AGCA
773
- * Code reorganizing
774
- * Using dashboard icons instead of images
775
- * Updated option names
776
-
777
- = 1.4.9 =
778
- * Issues fixed
779
-
780
- = 1.4.8.2 =
781
- * Added check for non existing 'pagenow' GLOBAL variable
782
- * Using default WordPress theme when AGCA theme is activated
783
- * Fixed unknown font theme issue
784
- * Option to remove AGCA themes from admin bar
785
-
786
- = 1.4.8.1 =
787
- * Small bug fix
788
-
789
- = 1.4.8 =
790
- * Style improvements
791
- * Tab navigation remembers previously used tab
792
-
793
- = 1.4.7 =
794
- * Improvements
795
-
796
- = 1.4.6 =
797
- * Refactoring. Removed obsolete code. Fixes some issues.
798
-
799
- = 1.4.5 =
800
- * Fixed issues
801
-
802
- = 1.4.4 =
803
- * Admin themes, caching support
804
-
805
- = 1.4.3 =
806
- * Fixed some issues
807
-
808
- = 1.4.2 =
809
- * Internal links changes
810
-
811
- = 1.4.1 =
812
- * Improvements
813
-
814
- = 1.4 =
815
- * Fixed issue with Colorizer. Updated plugin colors.
816
-
817
- = 1.3.9 =
818
- * Fixed issue on Dashboard widgets page
819
-
820
- = 1.3.8 =
821
- * Bug fixes: WordPress News dashboard widget, login image center alignment
822
-
823
- = 1.3.7 =
824
- * Fixed issues with custom dashboard content
825
-
826
- = 1.3.6 =
827
- * Fixed issues with special characters in admin menu editor
828
-
829
- = 1.3.5 =
830
- * Prepared for WordPress 3.9
831
- * Fixed style for custom Howdy name
832
-
833
- = 1.3.4 =
834
- * Bug fixes. Better error handling.
835
-
836
- = 1.3.3 =
837
- * Fixed compatibility issues with MailPoet plugin
838
-
839
- = 1.3.2 =
840
- * Bug fixes
841
-
842
- = 1.3.1 =
843
- * Introducing AG Custom Admin Themes
844
-
845
- = 1.3 =
846
- * Introducing AG Custom Admin Themes
847
-
848
- = 1.2.8 =
849
- * Fixed PHP errors in DEBUG mode
850
-
851
- = 1.2.7.9 =
852
- * Fixed remove admin submenu arrow option in WordPress 3.8
853
-
854
- = 1.2.7.8 =
855
- * Fixed admin menu bug
856
-
857
- = 1.2.7.7 =
858
- Updated admin menu auto-folding options. Fixed bug on reset password page. Updated options styles.
859
-
860
- = 1.2.7.6 =
861
- Bug fixes. Better close button styles.
862
-
863
- = 1.2.7.5 =
864
- Better style for close button. Removed deprecated jQuery live function.
865
-
866
- = 1.2.7.4 =
867
- Few improvements.
868
-
869
- = 1.2.7.3 =
870
- Bug fixes.
871
-
872
- = 1.2.7.2 =
873
- Bug fixes. Preparation for 3.6 WordPress
874
-
875
- = 1.2.7.1 =
876
- Bug fixes. Removing admin bar site title. Custom page titles in WP admin.
877
-
878
- = 1.2.7 =
879
- Plugin prepared for WordPress 3.5. Few additional improvements.
880
-
881
- = 1.2.6.5 =
882
- New features and bug fixes. Improved Colorizer, fixed admin bar issues, using capabilities to define admin users, added new options for login page, options to remove AGCA scripts on front-end. Using collapsed menus.
883
-
884
- = 1.2.6.4 =
885
- Bug fixes. Removing plugin's option on uninstall, not on deactivation.
886
-
887
- = 1.2.6.3 =
888
- Fixed several bugs: Admin bar issues, not saving settings after import, changing Howdy text in other languages, Colorizer ON/OFF option in settings export.
889
-
890
- = 1.2.6.2 =
891
- Ready for WordPress 3.4. A lot of improvements in 1.2.6 series, fixed issues with top bar, caching on updates, better styles... and new features: export/import new Colorizer options, better admin menu styles, custom css, custom js, admin bar on site pages.. Fixed bugs since 1.2.6 version. Wrapped up 1.2.6 series release.
892
-
893
- = 1.2.6.1 =
894
- Fixing bugs from 1.2.6 version
895
-
896
- = 1.2.6 =
897
- A lot of improvements in 1.2.6, fixed issues with top bar, caching on updates, better styles, etc. and new features: export/import new Colorizer options, better admin menu styles, custom css, custom js, admin bar on site pages etc.
898
-
899
- = 1.2.5.4 =
900
- Fixed fatal error from version 1.2.5.3
901
-
902
- = 1.2.5.3 =
903
- Fixed issues related to WordPress version 3.3.1
904
-
905
- = 1.2.5.2 =
906
- Full compatibility with WP 3.3. Fixed several issues with this version. Removed obsolete options for old WP versions, added new options to fit 3.3 version. Update is highly recommended for WP 3.3 users.
907
-
908
- = 1.2.5.1 =
909
- Plugin is ready for 3.3. WordPress version. Major issues with WP 3.3 are fixed. However, some options are not fully functional, yet. Recommended only for users with 3.3. WP version. Fixed bug with custom admin menu buttons.
910
-
911
- = 1.2.5 =
912
- Improved compatibility with other plugins. Tested with Ozh' Admin Drop Down Menu and SexyBookmarks. Fixed screen freezing and white screen of death. Improved error handling and showing.
913
-
914
- = 1.2.4 =
915
- This plugin version is ready for WordPress release 3.2, and fully compatible with it. Added few new options, and improved plugin stability.
916
-
917
- = 1.2.3 =
918
- Fixed 'White screen of death' bug, and few other improvements. Added Colorizer options for widgets. Added support for changing admin bar logo with custom image.
919
-
920
- = 1.2.2 =
921
- Added demo Colorizer for adding custom colors in admin and login pages. Fixed bug for slow computers, default settings should not be visible before custom settings. Added support for excluding administrator from settings. Added option for removing icons from admin menu buttons.
922
-
923
- = 1.2.1 =
924
- This is minor upgrade from 1.2 to 1.2.1 version. Mostly it is based on optimization for screen readers and improving accessibility. You definitly need to upgrade this plugin if you have version older than 1.2.
925
-
926
- = 1.2 =
927
- This is major milestone of this plugin. All elements are grouped and organized into small pages for better navigation.
928
- Settings are styled in better way and some attractive interactions are added to make using of this plugin very easy.
929
- Added settings for fully customization of admin menus.
930
-
931
- = 1.0.1 =
932
- Better explanations in Settings page. No changes in functionality.
933
 
934
- = 1.0 =
935
- Initial version.
1
+ === Custom Dashboard & Login Page - AGCA ===
2
  Contributors: cusmin
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&amount=10&item_name=Support+for+AGCA+Development
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: 6.9.4
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl.txt
10
 
11
+ CHANGE: admin menu, login page, admin bar, dashboard widgets, custom colors, custom CSS & JS, logo & images
12
 
13
  == Description ==
14
  With this plugin you can easily customize WordPress **admin panel**, **login page**, **admin menu**, **admin bar** etc. in tiny details.
74
  * Round corners on login boxes
75
  * Hide register and lost password links
76
  * Change hyperlink on register button
77
+
78
  = Admin Menu Options =
79
  * Rename menu and sub-menu items
80
  * Hide menu and sub-menu items
87
  * Add custom branding image above the admin menu
88
  * Add custom link to branding image
89
  * Change admin menu auto-folding settings
90
+
91
  = Colorizer =
92
+ * Change background and text colors on admin and login page
93
  * Change admin menu colors
94
  * Change widget colors
95
 
159
 
160
  == Change Log ==
161
 
162
+ = 6.9.4 =
163
+ * Fixed: "Cannot hide Woocommerce Analytics button in the admin menu" issue
164
+ * Small text improvements
165
+ * Fixed an issue with Cusmin compatibility
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
 
167
  = 6.9.3 =
168
  * Fixed blank login page, when jQuery is not defined
170
  = 6.9.2 =
171
  * Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
172
 
173
+ [SEE ALL LOGS](https://plugins.svn.wordpress.org/ag-custom-admin/trunk/changelog.txt)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
 
175
+ == Upgrade Notice ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
176
 
177
+ = 6.9.4 =
178
+ * Fixed compatibility issue with Woocommerce in the admin menu