diff --git a/multisite-enhancements.php b/multisite-enhancements.php
index 62d9313..8f2f9df 100755
--- a/multisite-enhancements.php
+++ b/multisite-enhancements.php
@@ -3,7 +3,7 @@
* Plugin Name: Multisite Enhancements
* Description: Enhance Multisite for Network Admins with different topics
* Plugin URI: https://github.com/bueltge/WordPress-Multisite-Enhancements
- * Version: 1.5.1
+ * Version: 1.5.2
* Author: Frank Bültge
* Author URI: https://bueltge.de
* License: GPLv2+
@@ -49,7 +49,7 @@ class Multisite_Enhancements {
public static function get_object() {
if ( null === self::$class_object ) {
- self::$class_object = new self;
+ self::$class_object = new self();
}
return self::$class_object;
@@ -82,7 +82,6 @@ public function __construct() {
* @since 2016-10-23
*/
public function load_translation() {
-
load_plugin_textdomain(
'multisite-enhancements',
false,
@@ -96,7 +95,6 @@ public function load_translation() {
* @since 0.0.1
*/
public function error_msg_no_multisite() {
-
deactivate_plugins( plugin_basename( __FILE__ ) );
?>
@@ -133,17 +131,16 @@ public function error_msg_no_multisite() {
* @since 0.0.1
*/
public static function load() {
-
$file_base = self::$file_base;
define( 'MULTISITE_ENHANCEMENT_BASE', $file_base );
$autoload_paths = glob( "$file_base/autoload/*.php" );
foreach ( $autoload_paths as $classnames => $path ) {
- $path_split = explode( DIRECTORY_SEPARATOR, $path );
- $class = end( $path_split );
+ $path_split = explode( DIRECTORY_SEPARATOR, $path );
+ $class = end( $path_split );
$autoload_files[$class] = $path;
- }
+ }
$autoload_files = (array) apply_filters( 'multisite_enhancements_autoload', $autoload_files );
diff --git a/package.json b/package.json
index 2c2f493..d2bdd28 100755
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "wordpress-multisite-enhancements",
- "version": "1.5.1",
+ "version": "1.5.2",
"description": "Enhance WordPress Multisite for Network Admins with different topics.",
"homepage": "https://github.com/bueltge/wordpress-multisite-enhancements",
"bugs": "https://github.com/bueltge/wordpress-multisite-enhancements/issues",
diff --git a/readme.txt b/readme.txt
index e732f1f..11ea324 100755
--- a/readme.txt
+++ b/readme.txt
@@ -2,9 +2,9 @@
Contributors: Bueltge, inpsyde
Tags: multisite, administration, admin bar, network,
Requires at least: 4.6
-Tested up to: 5.1
+Tested up to: 5.3
Requires PHP: 5.6
-Stable tag: 1.5.1
+Stable tag: 1.5.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -97,6 +97,10 @@ I'm German and my English might be gruesome here and there.
So please be patient with me and let me know of typos or grammatical parts. Thanks
== Changelog ==
+= 1.5.2 (2019-11-14) =
+* Fix style problem on list of all sites for admin bar.
+* Change enqueue of styles and script to default variants.
+
= 1.5.1 (2019-02-25) =
* Remove feature 'Networkmenu is now scrollable'.