Absolutely Glamorous Custom Admin - Version 1.3.6

Version Description

  • Fixed issues with special characters in admin menu editor
Download this release

Release Info

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

Code changes from version 1.3.5 to 1.3.6

Files changed (2) hide show
  1. plugin.php +9 -8
  2. readme.txt +7 -1
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.3.5
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
@@ -31,8 +31,8 @@ class AGCA{
31
  private $agca_version;
32
  private $agca_debug = false;
33
  private $admin_capabilities;
34
- private $context = "";
35
- private $saveAfterImport = false;
36
  private $templateCustomizations = "";
37
  private $templates_ep = "http://wordpressadminpanel.com/configuration.php";
38
  public function __construct()
@@ -56,7 +56,7 @@ class AGCA{
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
  //fb($this->colorizer);
59
- $this->agca_version = "1.3.5";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
@@ -678,7 +678,8 @@ class AGCA{
678
  function agca_decode($code){
679
  $code = str_replace("{","",$code);
680
  $code = str_replace("}","",$code);
681
- $elements = explode(", ",$code);
 
682
 
683
  return $elements;
684
  }
@@ -708,13 +709,13 @@ class AGCA{
708
  $array.='<tr><td colspan="2"><button target="'.$v["target"].'" title="'.$v["value"].'" type="button">'.$k.'</button>&nbsp;(<a style="cursor:pointer" class="button_edit">edit</a>)&nbsp;(<a style="cursor:pointer" class="button_remove">remove</a>)</td><td></td></tr>';
709
  }
710
  }
711
- }else{
712
- //$elements = json_decode($arr[$type],true);
713
  if(isset($arr[$type])){
714
  $elements = $this->agca_decode($arr[$type]);
715
  }
 
716
  if($elements !=""){
717
- foreach($elements as $element){
718
  if(!$first){
719
  $array .=",";
720
  }
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.3.6
8
  Author URI: http://www.argonius.com/
9
 
10
  Copyright 2014. Argonius (email : info@argonius.com)
31
  private $agca_version;
32
  private $agca_debug = false;
33
  private $admin_capabilities;
34
+ private $context = "";
35
+ private $saveAfterImport = false;
36
  private $templateCustomizations = "";
37
  private $templates_ep = "http://wordpressadminpanel.com/configuration.php";
38
  public function __construct()
56
  /*Initialize properties*/
57
  $this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
58
  //fb($this->colorizer);
59
+ $this->agca_version = "1.3.6";
60
 
61
  /*upload images programmaticaly*/
62
  //TODO upload with AJAX one by one, use post data to send urls one by one
678
  function agca_decode($code){
679
  $code = str_replace("{","",$code);
680
  $code = str_replace("}","",$code);
681
+ $code = str_replace("\", \"","\"|||\"",$code);
682
+ $elements = explode("|||",$code);
683
 
684
  return $elements;
685
  }
709
  $array.='<tr><td colspan="2"><button target="'.$v["target"].'" title="'.$v["value"].'" type="button">'.$k.'</button>&nbsp;(<a style="cursor:pointer" class="button_edit">edit</a>)&nbsp;(<a style="cursor:pointer" class="button_remove">remove</a>)</td><td></td></tr>';
710
  }
711
  }
712
+ }else{
 
713
  if(isset($arr[$type])){
714
  $elements = $this->agca_decode($arr[$type]);
715
  }
716
+
717
  if($elements !=""){
718
+ foreach($elements as $element){
719
  if(!$first){
720
  $array .=",";
721
  }
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, themes, admin themes, admin bar, login page
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
- Stable tag: 1.3.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -145,6 +145,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
145
 
146
  == Changelog ==
147
 
 
 
 
148
  = 1.3.5 =
149
  * Prepared for WordPress 3.9
150
  * Fixed style for custom Howdy name
@@ -371,6 +374,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
371
 
372
  == Upgrade Notice ==
373
 
 
 
 
374
  = 1.3.5 =
375
  * Prepared for WordPress 3.9
376
  * Fixed style for custom Howdy name
4
  Tags: admin, customize, hide, change admin, themes, admin themes, admin bar, login page
5
  Requires at least: 3.0
6
  Tested up to: 3.9
7
+ Stable tag: 1.3.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
145
 
146
  == Changelog ==
147
 
148
+ = 1.3.6 =
149
+ * Fixed issues with special characters in admin menu editor
150
+
151
  = 1.3.5 =
152
  * Prepared for WordPress 3.9
153
  * Fixed style for custom Howdy name
374
 
375
  == Upgrade Notice ==
376
 
377
+ = 1.3.6 =
378
+ * Fixed issues with special characters in admin menu editor
379
+
380
  = 1.3.5 =
381
  * Prepared for WordPress 3.9
382
  * Fixed style for custom Howdy name