Absolutely Glamorous Custom Admin - Version 1.2.8

Version Description

  • Fixed PHP errors in DEBUG mode
Download this release

Release Info

Developer argonius
Plugin Icon 128x128 Absolutely Glamorous Custom Admin
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7.9 to 1.2.8

Files changed (3) hide show
  1. ag-custom-admin.html +5 -5
  2. plugin.php +16 -8
  3. readme.txt +7 -1
ag-custom-admin.html CHANGED
@@ -1,5 +1,5 @@
1
  <html>
2
- <head><title>AG Custom Admin</title></head>
3
  <body>
4
  <h1><a href="http://wordpress.org/plugins/ag-custom-admin/">What is AG Custom Admin WordPress plugin?</a></h1>
5
  <p>AGCA is plugin for Wordpress that can be used to customize WordPress admin panel. There are dozens of options available for customizations:</p>
@@ -80,12 +80,12 @@
80
  <li>Export/import customization settings</li>
81
  </ul>
82
  </br>
83
- <h1><a href="http://agca.argonius.com/templates/home">AG Custom Admin WordPress Templates</a></h1>
84
- <p>From AGCA version 1.3 we introduce AG Custom Admin templates. With AGCA templates you can easily change your WordPress admin panel theme in matter of seconds!</p>
85
- <p>Please check our <a href="http://agca.argonius.com/templates/home">AG Custom Admin WordPress Templates</a> page for more info.</p>
86
  </br>
87
  <h1><a href="http://agca.argonius.com/ag-custom-admin/">Support</a></h1>
88
- <p>Please feel free to check our <a href="http://agca.argonius.com/ag-custom-admin/">support page</a> in case you have found any issues with your AGCA or AGCA templates features.</p>
89
  <p>Happy blogging!</p>
90
  </br>
91
  </br>
1
  <html>
2
+ <head><title>WordPress Admin Themes - AG Custom Admin Plugin</title></head>
3
  <body>
4
  <h1><a href="http://wordpress.org/plugins/ag-custom-admin/">What is AG Custom Admin WordPress plugin?</a></h1>
5
  <p>AGCA is plugin for Wordpress that can be used to customize WordPress admin panel. There are dozens of options available for customizations:</p>
80
  <li>Export/import customization settings</li>
81
  </ul>
82
  </br>
83
+ <h1><a href="http://wordpressadminpanel.com/themes/home">AG Custom Admin WordPress Themes</a></h1>
84
+ <p>From AGCA version 1.3 we introduce AG Custom Admin themes. With AGCA themes you can easily change your WordPress admin panel theme in matter of seconds!</p>
85
+ <p>Please check our <a href="http://wordpressadminpanel.com/themes/home">AG Custom Admin WordPress Themes</a> page for more info.</p>
86
  </br>
87
  <h1><a href="http://agca.argonius.com/ag-custom-admin/">Support</a></h1>
88
+ <p>Please feel free to check our <a href="http://agca.argonius.com/ag-custom-admin/">support page</a> in case you have found any issues with your AGCA or AGCA themes features.</p>
89
  <p>Happy blogging!</p>
90
  </br>
91
  </br>
plugin.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: AG Custom Admin
4
  Plugin URI: http://agca.argonius.com/ag-custom-admin/category/ag_custom_admin
5
  Description: Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
6
  Author: Argonius
7
- Version: 1.2.7.9
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2013. Argonius (email : info@argonius.com)
@@ -48,7 +48,7 @@ class AGCA{
48
  /*Initialize properties*/
49
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
50
  //fb($this->colorizer);
51
- $this->agca_version = "1.2.7.9";
52
  }
53
  // Add donate and support information
54
  function jk_filter_plugin_links($links, $file)
@@ -132,9 +132,13 @@ class AGCA{
132
  }
133
 
134
  function reloadScript(){
135
- if(in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php')) || WP_ADMIN == 1){
136
- add_action('init', array(&$this,'agca_enqueue_scripts'));
137
- }
 
 
 
 
138
  }
139
 
140
  function agca_register_settings() {
@@ -524,15 +528,19 @@ class AGCA{
524
  }
525
  }
526
  }else{
527
- //$elements = json_decode($arr[$type],true);
528
- $elements = $this->agca_decode($arr[$type]);
 
 
529
  if($elements !=""){
530
  foreach($elements as $element){
531
  if(!$first){
532
  $array .=",";
533
  }
534
  $parts = explode(" : ",$element);
535
- $array.="[".$parts[0].", ".$parts[1]."]";
 
 
536
  $first=false;
537
  }
538
  }
4
  Plugin URI: http://agca.argonius.com/ag-custom-admin/category/ag_custom_admin
5
  Description: Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
6
  Author: Argonius
7
+ Version: 1.2.8
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2013. Argonius (email : info@argonius.com)
48
  /*Initialize properties*/
49
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
50
  //fb($this->colorizer);
51
+ $this->agca_version = "1.2.8";
52
  }
53
  // Add donate and support information
54
  function jk_filter_plugin_links($links, $file)
132
  }
133
 
134
  function reloadScript(){
135
+ $isAdmin = false;
136
+ if(defined('WP_ADMIN') && WP_ADMIN == 1){
137
+ $isAdmin = true;
138
+ }
139
+ if(in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php')) || $isAdmin){
140
+ add_action('init', array(&$this,'agca_enqueue_scripts'));
141
+ }
142
  }
143
 
144
  function agca_register_settings() {
528
  }
529
  }
530
  }else{
531
+ //$elements = json_decode($arr[$type],true);
532
+ if(isset($arr[$type])){
533
+ $elements = $this->agca_decode($arr[$type]);
534
+ }
535
  if($elements !=""){
536
  foreach($elements as $element){
537
  if(!$first){
538
  $array .=",";
539
  }
540
  $parts = explode(" : ",$element);
541
+ if(isset($parts[0]) && isset($parts[1])){
542
+ $array.="[".$parts[0].", ".$parts[1]."]";
543
+ }
544
  $first=false;
545
  }
546
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://agca.argonius.com/ag-custom-admin/support-for-future-develop
4
  Tags: admin, customize, hide, change admin, admin panel
5
  Requires at least: 3.0
6
  Tested up to: 3.8
7
- Stable tag: 1.2.7.9
8
 
9
  Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
10
 
@@ -114,6 +114,9 @@ Try clearing browser's cache. If that does not work, go to browser's console and
114
 
115
  == Changelog ==
116
 
 
 
 
117
  = 1.2.7.9 =
118
  * Fixed remove admin submenu arrow option in WordPress 3.8
119
 
@@ -317,6 +320,9 @@ Try clearing browser's cache. If that does not work, go to browser's console and
317
 
318
  == Upgrade Notice ==
319
 
 
 
 
320
  = 1.2.7.9 =
321
  * Fixed remove admin submenu arrow option in WordPress 3.8
322
 
4
  Tags: admin, customize, hide, change admin, admin panel
5
  Requires at least: 3.0
6
  Tested up to: 3.8
7
+ Stable tag: 1.2.8
8
 
9
  Hide or change items in admin panel. Customize buttons from admin menu. Colorize admin and login page with custom colors.
10
 
114
 
115
  == Changelog ==
116
 
117
+ = 1.2.8 =
118
+ * Fixed PHP errors in DEBUG mode
119
+
120
  = 1.2.7.9 =
121
  * Fixed remove admin submenu arrow option in WordPress 3.8
122
 
320
 
321
  == Upgrade Notice ==
322
 
323
+ = 1.2.8 =
324
+ * Fixed PHP errors in DEBUG mode
325
+
326
  = 1.2.7.9 =
327
  * Fixed remove admin submenu arrow option in WordPress 3.8
328