Version Description
- Fixed blank login page, when jQuery is not defined
Download this release
Release Info
Developer | cusmin |
Plugin | Absolutely Glamorous Custom Admin |
Version | 6.9.3 |
Comparing to | |
See all releases |
Code changes from version 6.9.2 to 6.9.3
- ag-custom-admin.html +2 -2
- plugin.php +6 -5
- readme.txt +18 -6
- require/dynamic.php +0 -54
ag-custom-admin.html
CHANGED
@@ -82,10 +82,10 @@
|
|
82 |
<li>Export/import customization settings</li>
|
83 |
</ul>
|
84 |
<br/>
|
85 |
-
<
|
86 |
<p>If you need even more features and premium support, you can upgrade to <a href="https://cusmin.com/">Cusmin</a> - a premium plugin for advanced WordPress admin panel customization.</p>
|
87 |
<br/>
|
88 |
-
<
|
89 |
<p>Feel free contact us in case you have found any issues with your AGCA plugin.</p>
|
90 |
<p>Happy blogging!</p>
|
91 |
<br/>
|
82 |
<li>Export/import customization settings</li>
|
83 |
</ul>
|
84 |
<br/>
|
85 |
+
<h2><a href="https://cusmin.com/blog/customize-wordpress-dashboard/">Customize WordPress admin dashboard with Cusmin</a></h2>
|
86 |
<p>If you need even more features and premium support, you can upgrade to <a href="https://cusmin.com/">Cusmin</a> - a premium plugin for advanced WordPress admin panel customization.</p>
|
87 |
<br/>
|
88 |
+
<h2><a href="https://cusmin.com/contact">Support for WordPress Customization</a></h2>
|
89 |
<p>Feel free contact us in case you have found any issues with your AGCA plugin.</p>
|
90 |
<p>Happy blogging!</p>
|
91 |
<br/>
|
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 plugin for WordPress dashboard customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
|
6 |
Author: Cusmin
|
7 |
-
Version: 6.9.
|
8 |
Text Domain: ag-custom-admin
|
9 |
Domain Path: /languages
|
10 |
Author URI: https://cusmin.com/
|
@@ -28,7 +28,7 @@ Author URI: https://cusmin.com/
|
|
28 |
$agca = new AGCA();
|
29 |
|
30 |
class AGCA{
|
31 |
-
private $agca_version = "6.9.
|
32 |
private $colorizer = "";
|
33 |
private $agca_debug = false;
|
34 |
private $admin_capabilities;
|
@@ -283,8 +283,7 @@ class AGCA{
|
|
283 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/ag_style.css?ver=<?php echo $this->agca_version; ?>" />
|
284 |
<?php } ?>
|
285 |
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/ag_script.js?ver=<?php echo $this->agca_version; ?>"></script>
|
286 |
-
|
287 |
-
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>require/dynamic.php?type=js&context=<?php echo $this->context; ?>&ver=<?php echo $this->agca_version; ?>"></script>
|
288 |
|
289 |
<?php
|
290 |
if($this->context == "login"){
|
@@ -1791,8 +1790,10 @@ class AGCA{
|
|
1791 |
|
1792 |
<script type="text/javascript">
|
1793 |
|
1794 |
-
|
1795 |
/* <![CDATA[ */
|
|
|
|
|
|
|
1796 |
jQuery(document).ready(function() {
|
1797 |
try{
|
1798 |
<?php if(get_option('agca_login_round_box')==true){ ?>
|
4 |
Plugin URI: https://cusmin.com/agca
|
5 |
Description: All-in-one plugin for WordPress dashboard customization. Change almost everything: admin menu, dashboard, login page, admin bar and much more.
|
6 |
Author: Cusmin
|
7 |
+
Version: 6.9.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.9.3";
|
32 |
private $colorizer = "";
|
33 |
private $agca_debug = false;
|
34 |
private $admin_capabilities;
|
283 |
<link rel="stylesheet" type="text/css" href="<?php echo $this->pluginUrl(); ?>style/ag_style.css?ver=<?php echo $this->agca_version; ?>" />
|
284 |
<?php } ?>
|
285 |
<script type="text/javascript" src="<?php echo $this->pluginUrl(); ?>script/ag_script.js?ver=<?php echo $this->agca_version; ?>"></script>
|
286 |
+
|
|
|
287 |
|
288 |
<?php
|
289 |
if($this->context == "login"){
|
1790 |
|
1791 |
<script type="text/javascript">
|
1792 |
|
|
|
1793 |
/* <![CDATA[ */
|
1794 |
+
window.onerror = function(msg, url, line) {
|
1795 |
+
document.getElementsByTagName('html')[0].style.visibility = "visible";
|
1796 |
+
};
|
1797 |
jQuery(document).ready(function() {
|
1798 |
try{
|
1799 |
<?php if(get_option('agca_login_round_box')==true){ ?>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cus
|
|
4 |
Tags: admin, dashboard, customize, hide, admin bar, login page, admin menu, colors, branding, dashboard widgets
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 6.9.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
@@ -20,9 +20,9 @@ With this plugin you can easily customize WordPress **admin panel**, **login pag
|
|
20 |
* **ADMIN PANEL OPTIONS**: There are dozens of other admin panel options used to improve WordPress UX on admin and login pages items like Dashboard widgets, Help and Screen options, WordPress logos, links, menus etc. See the full list down below.
|
21 |
|
22 |
= Recommended =
|
23 |
-
> <strong>[CUSMIN](https://cusmin.com/?ref=wporg-recommended)</strong><br>
|
24 |
> Cusmin is the premium version of the Absolutely Glamorous Custom Admin with the advanced features for customization and branding. It's perfect for professionals, but can be also used on personal sites as well.<br><br>
|
25 |
-
> Please check how this pro plugin can help you to completely [customize your WordPress dashboard](https://cusmin.com/blog/customize-wordpress-
|
26 |
|
27 |
= General Settings =
|
28 |
* Hide **Screen Options** menu
|
@@ -98,8 +98,8 @@ With this plugin you can easily customize WordPress **admin panel**, **login pag
|
|
98 |
* Add custom JavaScript
|
99 |
* Export/import customizations settings
|
100 |
|
101 |
-
> <strong>[PRO FEATURES](https://cusmin.com/?ref=wporg-pro)</strong><br>
|
102 |
-
> If you need even more advanced customization options, please check our [PRO WordPress customizing plugin](https://cusmin.com/blog/customize-wordpress-
|
103 |
|
104 |
= Contact =
|
105 |
For any additional help, please check our [FAQ](http://wordpress.org/extend/plugins/ag-custom-admin/faq/) and [SUPPORT](http://wordpress.org/support/plugin/ag-custom-admin) page.
|
@@ -128,11 +128,17 @@ It's highly recommended to update WordPress to the latest, since attackers targe
|
|
128 |
but yes, you can still use AGCA, if the latest version doesn't work for you, you can install an older version of AGCA.
|
129 |
You can check the **Development** tab on WordPress.org AGCA's page to see which AGCA version supports your version of WordPress.
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
= Admin Menu buttons are not correctly set =
|
132 |
Please use **Reset Settings** button on Admin Menu page to reset menu configuration to defaults. Make sure to use latest plugin version with latest patches.
|
133 |
|
134 |
= Some options are not working =
|
135 |
-
If you have the latest WordPress and plugin versions and you still experience some issues, please contact us and report the issue.
|
136 |
|
137 |
== Screenshots ==
|
138 |
|
@@ -153,6 +159,9 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
153 |
|
154 |
== Change Log ==
|
155 |
|
|
|
|
|
|
|
156 |
= 6.9.2 =
|
157 |
* Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
|
158 |
|
@@ -624,6 +633,9 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
624 |
|
625 |
== Upgrade Notice ==
|
626 |
|
|
|
|
|
|
|
627 |
= 6.9.2 =
|
628 |
* Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
|
629 |
|
4 |
Tags: admin, dashboard, customize, hide, admin bar, login page, admin menu, colors, branding, dashboard widgets
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 6.9.3
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
20 |
* **ADMIN PANEL OPTIONS**: There are dozens of other admin panel options used to improve WordPress UX on admin and login pages items like Dashboard widgets, Help and Screen options, WordPress logos, links, menus etc. See the full list down below.
|
21 |
|
22 |
= Recommended =
|
23 |
+
> <strong>[CUSMIN](https://cusmin.com/upgrade-to-cusmin/?ref=wporg-recommended)</strong><br>
|
24 |
> Cusmin is the premium version of the Absolutely Glamorous Custom Admin with the advanced features for customization and branding. It's perfect for professionals, but can be also used on personal sites as well.<br><br>
|
25 |
+
> Please check how this pro plugin can help you to completely [customize your WordPress dashboard](https://cusmin.com/blog/customize-wordpress-dashboard/?ref=wporg-recommended).<br><br>
|
26 |
|
27 |
= General Settings =
|
28 |
* Hide **Screen Options** menu
|
98 |
* Add custom JavaScript
|
99 |
* Export/import customizations settings
|
100 |
|
101 |
+
> <strong>[PRO FEATURES](https://cusmin.com/upgrade-to-cusmin/?ref=wporg-pro)</strong><br>
|
102 |
+
> If you need even more advanced customization options, please check our [PRO WordPress customizing plugin](https://cusmin.com/blog/customize-wordpress-dashboard/?ref=wporg-pro).<br><br>
|
103 |
|
104 |
= Contact =
|
105 |
For any additional help, please check our [FAQ](http://wordpress.org/extend/plugins/ag-custom-admin/faq/) and [SUPPORT](http://wordpress.org/support/plugin/ag-custom-admin) page.
|
128 |
but yes, you can still use AGCA, if the latest version doesn't work for you, you can install an older version of AGCA.
|
129 |
You can check the **Development** tab on WordPress.org AGCA's page to see which AGCA version supports your version of WordPress.
|
130 |
|
131 |
+
= I don't see customizations on login page =
|
132 |
+
jQuery is probably not loaded on the login page, or you have some JavaScript error on this page. Please open the browser's console and see what are the errors.
|
133 |
+
|
134 |
+
= Customizations are not applying =
|
135 |
+
If you're an administrator, please make sure that 'Exclude AGCA admin' is not checked on AGCA > General tab. Please also check that you don't have any JavaScript errors in the browser's console.
|
136 |
+
|
137 |
= Admin Menu buttons are not correctly set =
|
138 |
Please use **Reset Settings** button on Admin Menu page to reset menu configuration to defaults. Make sure to use latest plugin version with latest patches.
|
139 |
|
140 |
= Some options are not working =
|
141 |
+
If you have the latest WordPress and plugin versions, and you still experience some issues, please contact us and report the issue.
|
142 |
|
143 |
== Screenshots ==
|
144 |
|
159 |
|
160 |
== Change Log ==
|
161 |
|
162 |
+
= 6.9.3 =
|
163 |
+
* Fixed blank login page, when jQuery is not defined
|
164 |
+
|
165 |
= 6.9.2 =
|
166 |
* Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
|
167 |
|
633 |
|
634 |
== Upgrade Notice ==
|
635 |
|
636 |
+
= 6.9.3 =
|
637 |
+
* Fixed blank login page, when jQuery is not defined
|
638 |
+
|
639 |
= 6.9.2 =
|
640 |
* Fixed HTML escaping on multiple fields in AGCA, added non-admin restrictions instead
|
641 |
|
require/dynamic.php
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// If using the default WordPress file structure
|
4 |
-
if (file_exists('../../../../wp-load.php')) {
|
5 |
-
// Make WordPress functions and methods available
|
6 |
-
require '../../../../wp-load.php';
|
7 |
-
|
8 |
-
// If using alternative WordPress file structure like Roots' Bedrock
|
9 |
-
} else {
|
10 |
-
// WP's constant ABSPATH is not available, so use $_SERVER['DOCUMENT_ROOT'] to get the web root
|
11 |
-
$directory = new RecursiveDirectoryIterator($_SERVER['DOCUMENT_ROOT']);
|
12 |
-
|
13 |
-
// Recursively search web root for wp-load.php
|
14 |
-
foreach (new RecursiveIteratorIterator($directory) as $file) {
|
15 |
-
// wp-load.php found, require and break loop
|
16 |
-
if ($file->getFilename() === 'wp-load.php') {
|
17 |
-
// Make WordPress functions and methods available
|
18 |
-
require $file->getPathname();
|
19 |
-
break;
|
20 |
-
}
|
21 |
-
}
|
22 |
-
}
|
23 |
-
|
24 |
-
$type = "";
|
25 |
-
$optionName = "";
|
26 |
-
$agcaContext = "";
|
27 |
-
|
28 |
-
if(isset($_GET["type"])){
|
29 |
-
$type = $_GET["type"];
|
30 |
-
}
|
31 |
-
if(isset($_GET["context"])){
|
32 |
-
$agcaContext = $_GET["context"];
|
33 |
-
}
|
34 |
-
|
35 |
-
if ( $agcaContext != "login" && !is_user_logged_in()) {
|
36 |
-
die();
|
37 |
-
}
|
38 |
-
|
39 |
-
if($type == "css"){
|
40 |
-
header('Content-type: text/css');
|
41 |
-
$optionName = ($agcaContext == "login")? "logincss":"admincss";
|
42 |
-
|
43 |
-
}else if($type == "js"){
|
44 |
-
header('Content-type: application/javascript');
|
45 |
-
$optionName = ($agcaContext == "login")? "loginjs":"adminjs";
|
46 |
-
}
|
47 |
-
die;
|
48 |
-
|
49 |
-
function agcat_get_wp_version(){
|
50 |
-
global $wp_version;
|
51 |
-
$array = explode('-', $wp_version);
|
52 |
-
$version = $array[0];
|
53 |
-
return $version;
|
54 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|