Absolutely Glamorous Custom Admin - Version 1.4.1

Version Description

  • Support up to WordPress 4.1
  • Improved branding
  • Better error handling
Download this release

Release Info

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

Code changes from version 1.4 to 1.4.1

Files changed (2) hide show
  1. plugin.php +9 -10
  2. readme.txt +7 -2
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: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes.
6
  Author: Argonius
7
- Version: 1.4
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
@@ -56,7 +56,7 @@ class AGCA{
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
 
59
- $this->agca_version = "1.4";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
@@ -1270,18 +1270,17 @@ class AGCA{
1270
  ?>
1271
  <script type="text/javascript">
1272
  function AGCAErrorPage(msg, url, line){
1273
- var title = 'AG Custom Admin just caught a JavaScript error on this site:\n\n'+ msg +'\n' + url + '\n' + line+'\n\nThis error prevents AG Custom Admin to work properly. To fix this, please navigate to the link above in your browser and open the source of that page (right click -> view page source) and find the line in code where it fails. In most cases this error should be fixed there.\n\nAs alternative solution, you can analyse the link above to find the plugin/theme where it was thrown. You can try to disable it or to report this error to the support of that/plugin theme.\n\nYou can also check browser\'s console to see & copy this error. \n\nIf you need more help, just click on this error message';
 
 
 
1274
  document.getElementsByTagName('html')[0].style.visibility = "visible";
1275
- document.body.innerHTML += '<div style="position:absolute;width:auto;height:auto;padding:4px;right:0;top:0;z-index:99999;background:#ff0000;color:#ffffff";border:3px solid #ffffff;><a target="_blank" href="http://agca.argonius.com/ag-custom-admin/ag_custom_admin/error-ocurred-javascript-error-caught" title="'+title+'" style="color:#ffffff;text-decoration:none;font-weight:bold;">Error Ocurred</a></div>';
1276
 
1277
  if(typeof window.console === "object"){
1278
  console.log("___________________________________________________");
1279
- console.log("AG Custom Admin caught a JavaScript on your site:");
1280
- console.log("___________________________________________________");
1281
- console.log(msg);
1282
- console.log("source: " + url);
1283
- console.log("line: " + line);
1284
- console.log("___________________________________________________");
1285
  }
1286
  }
1287
  window.onerror = function(msg, url, line) {
4
  Plugin URI: http://agca.argonius.com/ag-custom-admin/category/ag_custom_admin
5
  Description: All-in-one tool for admin panel customization. Change almost everything: admin menu, dashboard, login page, admin bar etc. Apply admin panel themes.
6
  Author: Argonius
7
+ Version: 1.4.1
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
 
59
+ $this->agca_version = "1.4.1";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
1270
  ?>
1271
  <script type="text/javascript">
1272
  function AGCAErrorPage(msg, url, line){
1273
+ var agca_error_details = "___________________________________________________\n";
1274
+ agca_error_details += '\n' + msg +'\nsource:' + url + '\nline:' + line + '\n';
1275
+ agca_error_details += "___________________________________________________\n";
1276
+ window.agca_error_details_alert = 'AG Custom Admin caught a JavaScript error on this site:\n'+ agca_error_details + '\nThis error prevents AG Custom Admin plugin to work properly. To fix this, please navigate to the link above in your browser and open the source of that page (right click -> view page source) and find the line in code where it fails. In most cases this error should be fixed there.\n\nAs an alternative solution, you could analyse the link above to find the plugin/theme where it was thrown. You can try to disable it or to report this error to their support.\n\nIf you\'re unable to fix this issue by yourself, you can also report it to AGCA support. Please select the content of the error first and press Ctrl+C(Win) or Cmd+C(Mac).\n\nConfirm this message to redirect to AGCA support page, or press Cancel to exit.';
1277
  document.getElementsByTagName('html')[0].style.visibility = "visible";
1278
+ document.body.innerHTML += '<div style="background: #ff0000;border-radius: 3px;color: #ffffff;height: auto; margin-right: 13px;margin-top: 47px;padding: 1px 4px;position: fixed; right: 0;top: 0;width: auto;z-index: 99999;"><a target="_blank" href="#" onclick="if(confirm(window.agca_error_details_alert)){window.open(\'http://agca.argonius.com/ag-custom-admin/ag_custom_admin/error-ocurred-javascript-error-caught\')};return false;" title="AG Custom Admin caught a JavaScript error on this page. Please click here fore more info..." style="color: #ffffff !important;font-weight: bold;padding: 4px;text-decoration: none;">!</a></div>';
1279
 
1280
  if(typeof window.console === "object"){
1281
  console.log("___________________________________________________");
1282
+ console.log("AG Custom Admin caught a JavaScript on your site:");
1283
+ console.log(agca_error_details);
 
 
 
 
1284
  }
1285
  }
1286
  window.onerror = function(msg, url, line) {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: argonius
3
  Donate link: http://agca.argonius.com/ag-custom-admin/support-for-future-development
4
  Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
5
  Requires at least: 3.0
6
- Tested up to: 4.0
7
- Stable tag: 1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -149,6 +149,11 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
149
 
150
  == Changelog ==
151
 
 
 
 
 
 
152
  = 1.4 =
153
  * Fixed issue with Colorizer. Updated plugin colors.
154
 
3
  Donate link: http://agca.argonius.com/ag-custom-admin/support-for-future-development
4
  Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
5
  Requires at least: 3.0
6
+ Tested up to: 4.1
7
+ Stable tag: 1.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
149
 
150
  == Changelog ==
151
 
152
+ = 1.4.1 =
153
+ * Support up to WordPress 4.1
154
+ * Improved branding
155
+ * Better error handling
156
+
157
  = 1.4 =
158
  * Fixed issue with Colorizer. Updated plugin colors.
159