Version Description
- Small bug fix
Download this release
Release Info
Developer | argonius |
Plugin | Absolutely Glamorous Custom Admin |
Version | 1.4.8.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.8 to 1.4.8.1
- plugin.php +2 -2
- readme.txt +7 -1
- script/ag_script.js +21 -16
plugin.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: AG Custom Admin
|
|
4 |
Plugin URI: http://wordpressadminpanel.com/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
|
8 |
Author URI: http://www.argonius.com/
|
9 |
|
10 |
Copyright 2015. Argonius (email : info@argonius.com)
|
@@ -57,7 +57,7 @@ class AGCA{
|
|
57 |
/*Initialize properties*/
|
58 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
59 |
|
60 |
-
$this->agca_version = "1.4.8";
|
61 |
|
62 |
/*upload images programmaticaly*/
|
63 |
//TODO upload with AJAX one by one, use post data to send urls one by one
|
4 |
Plugin URI: http://wordpressadminpanel.com/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.1
|
8 |
Author URI: http://www.argonius.com/
|
9 |
|
10 |
Copyright 2015. Argonius (email : info@argonius.com)
|
57 |
/*Initialize properties*/
|
58 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
59 |
|
60 |
+
$this->agca_version = "1.4.8.1";
|
61 |
|
62 |
/*upload images programmaticaly*/
|
63 |
//TODO upload with AJAX one by one, use post data to send urls one by one
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wordpressadminpanel.com/ag-custom-admin/
|
|
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.2.2
|
7 |
-
Stable tag: 1.4.8
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -154,6 +154,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
|
|
154 |
|
155 |
== Changelog ==
|
156 |
|
|
|
|
|
|
|
157 |
= 1.4.8 =
|
158 |
* Style improvements
|
159 |
* Tab navigation remembers previously used tab
|
@@ -431,6 +434,9 @@ Plugin should be always up-to-date with latest WordPress release. If you have fo
|
|
431 |
|
432 |
== Upgrade Notice ==
|
433 |
|
|
|
|
|
|
|
434 |
= 1.4.8 =
|
435 |
* Style improvements
|
436 |
* Tab navigation remembers previously used tab
|
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.2.2
|
7 |
+
Stable tag: 1.4.8.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
154 |
|
155 |
== Changelog ==
|
156 |
|
157 |
+
= 1.4.8.1 =
|
158 |
+
* Small bug fix
|
159 |
+
|
160 |
= 1.4.8 =
|
161 |
* Style improvements
|
162 |
* Tab navigation remembers previously used tab
|
434 |
|
435 |
== Upgrade Notice ==
|
436 |
|
437 |
+
= 1.4.8.1 =
|
438 |
+
* Small bug fix
|
439 |
+
|
440 |
= 1.4.8 =
|
441 |
* Style improvements
|
442 |
* Tab navigation remembers previously used tab
|
script/ag_script.js
CHANGED
@@ -24,23 +24,28 @@ function agcaDebugObj(obj){
|
|
24 |
console.log(obj);
|
25 |
}
|
26 |
}
|
27 |
-
jQuery(function(){
|
28 |
-
var agcapage = localStorage.getItem('agca-page');
|
29 |
-
if(!agcapage){
|
30 |
-
localStorage.setItem('agca-page', window.location.hash);
|
31 |
-
agcapage = localStorage.getItem('agca-page');
|
32 |
-
}
|
33 |
-
window.location.hash = window.location.hash || agcapage;
|
34 |
-
localStorage.setItem('agca-page', window.location.hash);
|
35 |
-
|
36 |
-
});
|
37 |
-
window.onhashchange = function(){
|
38 |
-
localStorage.setItem('agca-page', window.location.hash);
|
39 |
-
if(jQuery('#ag_main_menu a.selected').attr('href') !== window.location.hash){
|
40 |
-
jQuery('#ag_main_menu a[href='+window.location.hash+']').trigger('click');
|
41 |
-
}
|
42 |
-
};
|
43 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
function hideShowSubmenus(index){
|
46 |
|
24 |
console.log(obj);
|
25 |
}
|
26 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
/*use only on agca page*/
|
29 |
+
if(window.location.href.indexOf(encodeURIComponent('ag-custom-admin/plugin.php')) !== -1 || window.location.href.indexOf('ag-custom-admin/plugin.php') !== -1){
|
30 |
+
jQuery(function(){
|
31 |
+
var agcapage = localStorage.getItem('agca-page');
|
32 |
+
if(!agcapage){
|
33 |
+
localStorage.setItem('agca-page', window.location.hash);
|
34 |
+
agcapage = localStorage.getItem('agca-page');
|
35 |
+
}
|
36 |
+
window.location.hash = window.location.hash || agcapage;
|
37 |
+
localStorage.setItem('agca-page', window.location.hash);
|
38 |
+
|
39 |
+
});
|
40 |
+
window.onhashchange = function(){
|
41 |
+
localStorage.setItem('agca-page', window.location.hash);
|
42 |
+
if(jQuery('#ag_main_menu a.selected').attr('href') !== window.location.hash){
|
43 |
+
if(window.location.hash !== ""){
|
44 |
+
jQuery('#ag_main_menu a[href='+window.location.hash+']').trigger('click');
|
45 |
+
}
|
46 |
+
}
|
47 |
+
};
|
48 |
+
}
|
49 |
|
50 |
function hideShowSubmenus(index){
|
51 |
|