Version Description
- Fixed 500 error in Multisite
Download this release
Release Info
Developer | cusmin |
Plugin | Absolutely Glamorous Custom Admin |
Version | 6.2 |
Comparing to | |
See all releases |
Code changes from version 6.1 to 6.2
- plugin.php +13 -5
- readme.txt +12 -3
plugin.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Absolutely Glamorous Custom Admin
|
|
4 |
Plugin URI: https://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: Cusmin
|
7 |
-
Version: 6.
|
8 |
Text Domain: ag-custom-admin
|
9 |
Domain Path: /languages
|
10 |
Author URI: https://cusmin.com
|
@@ -73,7 +73,7 @@ class AGCA{
|
|
73 |
/*Initialize properties*/
|
74 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
75 |
|
76 |
-
$this->agca_version = "6.
|
77 |
|
78 |
//TODO:upload images programmatically
|
79 |
}
|
@@ -449,11 +449,15 @@ class AGCA{
|
|
449 |
}
|
450 |
|
451 |
function WPSPluginIsLoginPage(){
|
452 |
-
|
453 |
$WPSPluginName = 'wps-hide-login/wps-hide-login.php';
|
454 |
if(is_multisite()){
|
455 |
-
if ( ! function_exists( 'is_plugin_active_for_network' ) )
|
456 |
-
|
|
|
|
|
|
|
|
|
|
|
457 |
|
458 |
if(!$this->isPluginActiveForNetwork($WPSPluginName)){
|
459 |
return '';
|
@@ -2201,7 +2205,9 @@ class AGCA{
|
|
2201 |
<li class="normal" ><a href="#admin-menu-settings" title="<?php _e('Settings for main admin menu', 'ag-custom-admin')?>"><?php _e('Admin Menu', 'ag-custom-admin')?></a></li>
|
2202 |
<li class="normal"><a href="#ag-colorizer-settings" title="<?php _e('Colorizer settings', 'ag-custom-admin')?>"><?php _e('Colorizer', 'ag-custom-admin')?></a></li>
|
2203 |
<li class="normal"><a href="#ag-advanced" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
|
|
|
2204 |
<li class="normal" style=""><a href="#ag-templates" title="<?php _e('AGCA Themes', 'ag-custom-admin')?>"><?php _e('Themes', 'ag-custom-admin')?></a></li>
|
|
|
2205 |
<li class="normal upgrade"><a href="https://cusmin.com/upgrade-to-cusmin?ref=menu" target="_blank" title="<?php _e('Upgrade to Cusmin', 'ag-custom-admin')?>"><img src="<?php echo plugins_url( 'images/cusminlogo.png', __FILE__ ) ?>" /><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
|
2206 |
|
2207 |
<li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('Enjoying AGCA? Help us further develop it and support it!', 'ag-custom-admin')?> " href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development"><img alt="<?php _e('Donate', 'ag-custom-admin')?>" src="<?php echo $this->pluginUrl(); ?>images/donate-btn.png" /></a>
|
@@ -2941,6 +2947,7 @@ class AGCA{
|
|
2941 |
<input type="hidden" size="47" id="ag_colorizer_json" name="ag_colorizer_json" value="<?php echo htmlspecialchars(get_option('ag_colorizer_json')); ?>" />
|
2942 |
<div id="picker"></div>
|
2943 |
</div>
|
|
|
2944 |
<div id="section_templates" style="display:none" class="ag_section">
|
2945 |
<h2 class="section_title"><span style="float:left"><?php _e('Admin Themes', 'ag-custom-admin'); ?></span></h2>
|
2946 |
<table class="form-table" width="500px">
|
@@ -2964,6 +2971,7 @@ class AGCA{
|
|
2964 |
</tr>
|
2965 |
</table>
|
2966 |
</div>
|
|
|
2967 |
<div id="section_advanced" style="display:none" class="ag_section">
|
2968 |
<h2 class="section_title"><?php _e('Advanced', 'ag-custom-admin'); ?></h2>
|
2969 |
<?php $this->show_save_button_upper(); ?>
|
4 |
Plugin URI: https://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: Cusmin
|
7 |
+
Version: 6.2
|
8 |
Text Domain: ag-custom-admin
|
9 |
Domain Path: /languages
|
10 |
Author URI: https://cusmin.com
|
73 |
/*Initialize properties*/
|
74 |
$this->colorizer = $this->jsonMenuArray(get_option('ag_colorizer_json'),'colorizer');
|
75 |
|
76 |
+
$this->agca_version = "6.2";
|
77 |
|
78 |
//TODO:upload images programmatically
|
79 |
}
|
449 |
}
|
450 |
|
451 |
function WPSPluginIsLoginPage(){
|
|
|
452 |
$WPSPluginName = 'wps-hide-login/wps-hide-login.php';
|
453 |
if(is_multisite()){
|
454 |
+
if ( ! function_exists( 'is_plugin_active_for_network' ) ){
|
455 |
+
$pluginPhpFilePath = $this->filePath('wp-admin/includes/plugins.php');
|
456 |
+
if(!file_exists($pluginPhpFilePath)){
|
457 |
+
return '';
|
458 |
+
}
|
459 |
+
require_once($pluginPhpFilePath);
|
460 |
+
}
|
461 |
|
462 |
if(!$this->isPluginActiveForNetwork($WPSPluginName)){
|
463 |
return '';
|
2205 |
<li class="normal" ><a href="#admin-menu-settings" title="<?php _e('Settings for main admin menu', 'ag-custom-admin')?>"><?php _e('Admin Menu', 'ag-custom-admin')?></a></li>
|
2206 |
<li class="normal"><a href="#ag-colorizer-settings" title="<?php _e('Colorizer settings', 'ag-custom-admin')?>"><?php _e('Colorizer', 'ag-custom-admin')?></a></li>
|
2207 |
<li class="normal"><a href="#ag-advanced" title="<?php _e('My custom scripts', 'ag-custom-admin')?>"><?php _e('Advanced', 'ag-custom-admin')?></a></li>
|
2208 |
+
<?php if(defined('AGCA_THEMES')){ ?>
|
2209 |
<li class="normal" style=""><a href="#ag-templates" title="<?php _e('AGCA Themes', 'ag-custom-admin')?>"><?php _e('Themes', 'ag-custom-admin')?></a></li>
|
2210 |
+
<?php } ?>
|
2211 |
<li class="normal upgrade"><a href="https://cusmin.com/upgrade-to-cusmin?ref=menu" target="_blank" title="<?php _e('Upgrade to Cusmin', 'ag-custom-admin')?>"><img src="<?php echo plugins_url( 'images/cusminlogo.png', __FILE__ ) ?>" /><?php _e('Upgrade', 'ag-custom-admin')?></a></li>
|
2212 |
|
2213 |
<li style="background:none;border:none;padding:0;"><a id="agca_donate_button" target="_blank" style="margin-left:8px" title="<?php _e('Enjoying AGCA? Help us further develop it and support it!', 'ag-custom-admin')?> " href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+Development"><img alt="<?php _e('Donate', 'ag-custom-admin')?>" src="<?php echo $this->pluginUrl(); ?>images/donate-btn.png" /></a>
|
2947 |
<input type="hidden" size="47" id="ag_colorizer_json" name="ag_colorizer_json" value="<?php echo htmlspecialchars(get_option('ag_colorizer_json')); ?>" />
|
2948 |
<div id="picker"></div>
|
2949 |
</div>
|
2950 |
+
<?php if(defined('AGCA_THEMES')){ ?>
|
2951 |
<div id="section_templates" style="display:none" class="ag_section">
|
2952 |
<h2 class="section_title"><span style="float:left"><?php _e('Admin Themes', 'ag-custom-admin'); ?></span></h2>
|
2953 |
<table class="form-table" width="500px">
|
2971 |
</tr>
|
2972 |
</table>
|
2973 |
</div>
|
2974 |
+
<?php } ?>
|
2975 |
<div id="section_advanced" style="display:none" class="ag_section">
|
2976 |
<h2 class="section_title"><?php _e('Advanced', 'ag-custom-admin'); ?></h2>
|
2977 |
<?php $this->show_save_button_upper(); ?>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: cusmin
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+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.9.
|
7 |
-
Stable tag: 6.
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
@@ -19,10 +19,13 @@ With this plugin you can easily customize WordPress **admin panel**, **login pag
|
|
19 |
* **BRANDING**: Brand your admin panel pages with custom content, colors, images and text.
|
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 |
-
=
|
23 |
> <strong>CUSMIN</strong><br>
|
24 |
> Cusmin is the premium version of the Absolutely Glamorous Custom Admin that gives you advanced features for customization and branding. It's perfect for professionals, but can be used on personal sites as well.<br><br>
|
25 |
> For more info about Cusmin, please go to [Cusmin](https://cusmin.com?ref=agca) site.<br><br>
|
|
|
|
|
|
|
26 |
|
27 |
= General Settings =
|
28 |
* Hide "Screen Options" menu
|
@@ -145,6 +148,9 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
145 |
|
146 |
== Change Log ==
|
147 |
|
|
|
|
|
|
|
148 |
= 6.1 =
|
149 |
* Fixed Log Out button issue
|
150 |
|
@@ -533,6 +539,9 @@ If you have the latest WordPress and plugin versions and you still experience so
|
|
533 |
|
534 |
== Upgrade Notice ==
|
535 |
|
|
|
|
|
|
|
536 |
= 6.1 =
|
537 |
* Fixed Log Out button issue
|
538 |
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=agca@cusmin.com&item_name=Support+for+AGCA+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.9.5
|
7 |
+
Stable tag: 6.2
|
8 |
License: GPLv3 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl.txt
|
10 |
|
19 |
* **BRANDING**: Brand your admin panel pages with custom content, colors, images and text.
|
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</strong><br>
|
24 |
> Cusmin is the premium version of the Absolutely Glamorous Custom Admin that gives you advanced features for customization and branding. It's perfect for professionals, but can be used on personal sites as well.<br><br>
|
25 |
> For more info about Cusmin, please go to [Cusmin](https://cusmin.com?ref=agca) site.<br><br>
|
26 |
+
> <strong>CUSMIN THEMES</strong><br>
|
27 |
+
> Free themes for your admin panel and login page.<br><br>
|
28 |
+
> For more info about Cusmin themes, please go to [Cusmin Themes](https://wordpress.org/plugins/cusmin-themes/).<br><br>
|
29 |
|
30 |
= General Settings =
|
31 |
* Hide "Screen Options" menu
|
148 |
|
149 |
== Change Log ==
|
150 |
|
151 |
+
= 6.2 =
|
152 |
+
* Fixed 500 error in Multisite
|
153 |
+
|
154 |
= 6.1 =
|
155 |
* Fixed Log Out button issue
|
156 |
|
539 |
|
540 |
== Upgrade Notice ==
|
541 |
|
542 |
+
= 6.2 =
|
543 |
+
* Fixed 500 error in Multisite
|
544 |
+
|
545 |
= 6.1 =
|
546 |
* Fixed Log Out button issue
|
547 |
|