Absolutely Glamorous Custom Admin - Version 6.7.3

Version Description

  • Fixed issue with Meow gallery plugin menu item showing in AGCA menu editor
  • Using clean menu names in AGCA menu editor for plugin authors who use custom admin menu styles
Download this release

Release Info

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

Code changes from version 6.7.2 to 6.7.3

Files changed (4) hide show
  1. plugin.php +9 -9
  2. readme.txt +9 -2
  3. script/ag_script.js +1 -1
  4. style/ag_style.css +10 -1
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 tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
6
  Author: Cusmin
7
- Version: 6.7.2
8
  Text Domain: ag-custom-admin
9
  Domain Path: /languages
10
  Author URI: https://cusmin.com
@@ -28,8 +28,8 @@ Author URI: https://cusmin.com
28
  $agca = new AGCA();
29
 
30
  class AGCA{
 
31
  private $colorizer="";
32
- private $agca_version;
33
  private $agca_debug = false;
34
  private $admin_capabilities;
35
  private $context = "";
@@ -72,8 +72,6 @@ class AGCA{
72
 
73
  /*Initialize properties*/
74
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
75
-
76
- $this->agca_version = "6.7.2";
77
  }
78
 
79
  function load_plugin_textdomain() {
@@ -90,7 +88,7 @@ class AGCA{
90
  }
91
  $links[] = '<a target="_blank" href="https://wordpress.org/support/plugin/ag-custom-admin">' . __('Support', 'ag-custom-admin') . '</a>';
92
  $links[] = '<a target="_blank" href="https://cusmin.com/upgrade-to-cusmin?ref=plugins">' . __('Upgrade', 'ag-custom-admin') . '</a>';
93
- $links[] = '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development">' . __('Donate', 'ag-custom-admin') . '</a>';
94
  }
95
  return $links;
96
  }
@@ -1142,6 +1140,8 @@ class AGCA{
1142
  $name = $parts[0];
1143
  }
1144
  $name = trim($name);
 
 
1145
  return $name;
1146
  }
1147
 
@@ -1909,7 +1909,7 @@ class AGCA{
1909
  <h1 id="agca-title"><img src="<?php echo plugins_url( 'images/agca-logo.svg', __FILE__ ) ?>" /><span class="title">absolutely glamorous custom admin</span> <span class="version">(v<?php echo $this->agca_version; ?>)</span></h1>
1910
  <div id="agca-social" style="float:right; margin-top: -23px;">
1911
  <div class="fb-like" data-href="https://www.facebook.com/AG-Custom-Admin-892218404232342/timeline" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></div>
1912
- <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development" target="_blank" class="agca-donate-btn" title="Help us improve AGCA">Donate <span class="heart">❤</span></a>
1913
  </div>
1914
  <div id="agca_error_placeholder"></div>
1915
  <div id="agca_news">&nbsp;</div><br />
@@ -1939,7 +1939,7 @@ class AGCA{
1939
  <li class="normal"><a href="#ag-advanced" class="dashicons-before dashicons-welcome-learn-more" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
1940
  <li class="normal upgrade"><a href="https://cusmin.com/upgrade-to-cusmin?ref=menu" target="_blank" title="<?php _e('Upgrade to Cusmin </br>to unlock all premium features', 'ag-custom-admin')?>"><img src="<?php echo plugins_url( 'images/cusmin-logo.svg', __FILE__ ) ?>" /><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
1941
 
1942
- <li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('Enjoying AGCA? Help us further develop it and support it!', 'ag-custom-admin')?> " href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development"><img alt="<?php _e('Donate', 'ag-custom-admin')?>" src="<?php echo $this->pluginUrl(); ?>images/donate-btn.png" /></a>
1943
  </li>
1944
  <li style="background:none;border:none;padding:0;padding-left:10px;margin-top:-7px"></li>
1945
  </ul>
@@ -2033,10 +2033,10 @@ class AGCA{
2033
  <li><a href="https://wordpress.org/support/plugin/ag-custom-admin" target="_blank"><span class="dashicons dashicons-megaphone"></span>&nbsp;&nbsp;<?php _e('Report an issue', 'ag-custom-admin'); ?></a> - <?php _e('If plugin does not work as expected', 'ag-custom-admin'); ?> </li>
2034
  </ul>
2035
  <ul>
2036
- <li><a href="https://wordpress.org/support/view/plugin-reviews/ag-custom-admin" target="_blank"><span class="dashicons dashicons-awards"></span>&nbsp;&nbsp;<?php _e('Add a review on WordPress.org', 'ag-custom-admin'); ?></a> - <?php _e('add your review and rate us on WordPress.org', 'ag-custom-admin'); ?> </li>
2037
  </ul>
2038
  <ul>
2039
- <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development" target="_blank"><span class="dashicons dashicons-palmtree"></span>&nbsp;&nbsp;<?php _e('Donate', 'ag-custom-admin'); ?></a> - <?php _e('if you find this plugin helpful for your needs', 'ag-custom-admin'); ?> </li>
2040
  </ul>
2041
  <ul class="upgrade">
2042
  <li><a href="https://cusmin.com/upgrade-to-cusmin?ref=page" target="_blank">
4
  Plugin URI: https://cusmin.com/agca
5
  Description: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
6
  Author: Cusmin
7
+ Version: 6.7.3
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.7.3";
32
  private $colorizer="";
 
33
  private $agca_debug = false;
34
  private $admin_capabilities;
35
  private $context = "";
72
 
73
  /*Initialize properties*/
74
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
 
 
75
  }
76
 
77
  function load_plugin_textdomain() {
88
  }
89
  $links[] = '<a target="_blank" href="https://wordpress.org/support/plugin/ag-custom-admin">' . __('Support', 'ag-custom-admin') . '</a>';
90
  $links[] = '<a target="_blank" href="https://cusmin.com/upgrade-to-cusmin?ref=plugins">' . __('Upgrade', 'ag-custom-admin') . '</a>';
91
+ $links[] = '<a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&amount=10&item_name=Support+for+AGCA+Development">' . __('Donate', 'ag-custom-admin') . '</a>';
92
  }
93
  return $links;
94
  }
1140
  $name = $parts[0];
1141
  }
1142
  $name = trim($name);
1143
+ $name = strip_tags($name);
1144
+ $name = trim($name);
1145
  return $name;
1146
  }
1147
 
1909
  <h1 id="agca-title"><img src="<?php echo plugins_url( 'images/agca-logo.svg', __FILE__ ) ?>" /><span class="title">absolutely glamorous custom admin</span> <span class="version">(v<?php echo $this->agca_version; ?>)</span></h1>
1910
  <div id="agca-social" style="float:right; margin-top: -23px;">
1911
  <div class="fb-like" data-href="https://www.facebook.com/AG-Custom-Admin-892218404232342/timeline" data-layout="button" data-action="like" data-show-faces="true" data-share="true"></div>
1912
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&amount=10&item_name=Support+for+AGCA+Development" target="_blank" class="agca-donate-btn" title="Please help us ensure future updates for AGCA. <br/><br/>We can't make them without your support.">Donate Now <span class="heart">❤</span></a>
1913
  </div>
1914
  <div id="agca_error_placeholder"></div>
1915
  <div id="agca_news">&nbsp;</div><br />
1939
  <li class="normal"><a href="#ag-advanced" class="dashicons-before dashicons-welcome-learn-more" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
1940
  <li class="normal upgrade"><a href="https://cusmin.com/upgrade-to-cusmin?ref=menu" target="_blank" title="<?php _e('Upgrade to Cusmin </br>to unlock all premium features', 'ag-custom-admin')?>"><img src="<?php echo plugins_url( 'images/cusmin-logo.svg', __FILE__ ) ?>" /><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
1941
 
1942
+ <li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('Enjoying AGCA? Help us further develop it and support it!', 'ag-custom-admin')?> " href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&amount=10&item_name=Support+for+AGCA+Development"><img alt="<?php _e('Donate', 'ag-custom-admin')?>" src="<?php echo $this->pluginUrl(); ?>images/donate-btn.png" /></a>
1943
  </li>
1944
  <li style="background:none;border:none;padding:0;padding-left:10px;margin-top:-7px"></li>
1945
  </ul>
2033
  <li><a href="https://wordpress.org/support/plugin/ag-custom-admin" target="_blank"><span class="dashicons dashicons-megaphone"></span>&nbsp;&nbsp;<?php _e('Report an issue', 'ag-custom-admin'); ?></a> - <?php _e('If plugin does not work as expected', 'ag-custom-admin'); ?> </li>
2034
  </ul>
2035
  <ul>
2036
+ <li><a href="https://wordpress.org/support/view/plugin-reviews/ag-custom-admin" target="_blank"><span class="dashicons dashicons-star-filled"></span>&nbsp;&nbsp;<?php _e('Add your review on WordPress.org', 'ag-custom-admin'); ?></a> - <?php _e('add your review and rate us on WordPress.org', 'ag-custom-admin'); ?> </li>
2037
  </ul>
2038
  <ul>
2039
+ <li><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&amount=10&item_name=Support+for+AGCA+Development" target="_blank"><span class="dashicons dashicons-heart"></span>&nbsp;&nbsp;<?php _e('Donate $10', 'ag-custom-admin'); ?></a> - <?php _e('to give your thanks for our hard work', 'ag-custom-admin'); ?> </li>
2040
  </ul>
2041
  <ul class="upgrade">
2042
  <li><a href="https://cusmin.com/upgrade-to-cusmin?ref=page" target="_blank">
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Absolutely Glamorous Custom Admin ===
2
  Contributors: cusmin
3
- Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development
4
  Tags: admin, customize, hide, change admin, admin bar, login page, admin menu, colors
5
  Requires at least: 3.0
6
  Tested up to: 5.7
7
- Stable tag: 6.7.2
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl.txt
10
 
@@ -145,6 +145,10 @@ If you have the latest WordPress and plugin versions and you still experience so
145
 
146
  == Change Log ==
147
 
 
 
 
 
148
  = 6.7.2 =
149
  * Fixed AGCA styling on plugins page
150
 
@@ -593,6 +597,9 @@ If you have the latest WordPress and plugin versions and you still experience so
593
 
594
  == Upgrade Notice ==
595
 
 
 
 
596
  = 6.7.2 =
597
  * Removed support for AGCA themes. If you're using old AGCA themes, please don't upgrade AGCA.
598
  * Cleanup and improvements
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, customize, hide, change admin, admin bar, login page, admin menu, colors
5
  Requires at least: 3.0
6
  Tested up to: 5.7
7
+ Stable tag: 6.7.3
8
  License: GPLv3 or later
9
  License URI: https://www.gnu.org/licenses/gpl.txt
10
 
145
 
146
  == Change Log ==
147
 
148
+ = 6.7.3 =
149
+ * Fixed issue with Meow gallery plugin menu item showing in AGCA menu editor
150
+ * Using clean menu names in AGCA menu editor for plugin authors who use custom admin menu styles
151
+
152
  = 6.7.2 =
153
  * Fixed AGCA styling on plugins page
154
 
597
 
598
  == Upgrade Notice ==
599
 
600
+ = 6.7.3 =
601
+ * Fixed issue with Meow menu item showing in AGCA menu editor
602
+
603
  = 6.7.2 =
604
  * Removed support for AGCA themes. If you're using old AGCA themes, please don't upgrade AGCA.
605
  * Cleanup and improvements
script/ag_script.js CHANGED
@@ -256,7 +256,7 @@ function createTargetCombo(target,clas){
256
  if(target === "_self"){
257
  combo+= " selected ";
258
  }
259
- combo+= ">same tab</option>";
260
  combo+= "<option value=\"_blank\"";
261
  if(target === "_blank"){
262
  combo+= " selected ";
256
  if(target === "_self"){
257
  combo+= " selected ";
258
  }
259
+ combo+= ">the same tab</option>";
260
  combo+= "<option value=\"_blank\"";
261
  if(target === "_blank"){
262
  combo+= " selected ";
style/ag_style.css CHANGED
@@ -860,12 +860,17 @@ td.ag_admin_menu_parent:hover {
860
  color: #ccc;
861
  }
862
 
 
 
 
 
863
  .agca-feedback-and-support a {
864
  border: medium none;
865
  border-radius: 4px;
866
  color: #FFFFFF !important;
867
  padding: 6px 20px;
868
- min-width: 258px;
 
869
  background: #23395B;
870
  display: inline-block;
871
  font-weight: normal !important;
@@ -873,6 +878,10 @@ td.ag_admin_menu_parent:hover {
873
  transition: all .3s;
874
  }
875
 
 
 
 
 
876
  .agca-feedback-and-support .upgrade a{
877
  background: #f9f9f9;
878
  color: #23395B !important;
860
  color: #ccc;
861
  }
862
 
863
+ .agca-feedback-and-support {
864
+ font-weight: bold;
865
+ }
866
+
867
  .agca-feedback-and-support a {
868
  border: medium none;
869
  border-radius: 4px;
870
  color: #FFFFFF !important;
871
  padding: 6px 20px;
872
+ padding-top: 10px;
873
+ min-width: 280px;
874
  background: #23395B;
875
  display: inline-block;
876
  font-weight: normal !important;
878
  transition: all .3s;
879
  }
880
 
881
+ .agca-feedback-and-support a span {
882
+ transform: translate(0, -2px);
883
+ }
884
+
885
  .agca-feedback-and-support .upgrade a{
886
  background: #f9f9f9;
887
  color: #23395B !important;