Skip to content

Commit ba03a3e

Browse files
committed
ready for a new version
1 parent 32b0c2c commit ba03a3e

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

multisite-enhancements.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Multisite Enhancements
44
* Description: Enhance Multisite for Network Admins with different topics
55
* Plugin URI: https://github.com/bueltge/WordPress-Multisite-Enhancements
6-
* Version: 1.5.1
6+
* Version: 1.5.2
77
* Author: Frank Bültge
88
* Author URI: https://bueltge.de
99
* License: GPLv2+
@@ -49,7 +49,7 @@ class Multisite_Enhancements {
4949
public static function get_object() {
5050

5151
if ( null === self::$class_object ) {
52-
self::$class_object = new self;
52+
self::$class_object = new self();
5353
}
5454

5555
return self::$class_object;
@@ -82,7 +82,6 @@ public function __construct() {
8282
* @since 2016-10-23
8383
*/
8484
public function load_translation() {
85-
8685
load_plugin_textdomain(
8786
'multisite-enhancements',
8887
false,
@@ -96,7 +95,6 @@ public function load_translation() {
9695
* @since 0.0.1
9796
*/
9897
public function error_msg_no_multisite() {
99-
10098
deactivate_plugins( plugin_basename( __FILE__ ) );
10199
?>
102100
<div class="error">
@@ -133,17 +131,16 @@ public function error_msg_no_multisite() {
133131
* @since 0.0.1
134132
*/
135133
public static function load() {
136-
137134
$file_base = self::$file_base;
138135
define( 'MULTISITE_ENHANCEMENT_BASE', $file_base );
139136

140137
$autoload_paths = glob( "$file_base/autoload/*.php" );
141138

142139
foreach ( $autoload_paths as $classnames => $path ) {
143-
$path_split = explode( DIRECTORY_SEPARATOR, $path );
144-
$class = end( $path_split );
140+
$path_split = explode( DIRECTORY_SEPARATOR, $path );
141+
$class = end( $path_split );
145142
$autoload_files[$class] = $path;
146-
}
143+
}
147144

148145
$autoload_files = (array) apply_filters( 'multisite_enhancements_autoload', $autoload_files );
149146

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wordpress-multisite-enhancements",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "Enhance WordPress Multisite for Network Admins with different topics.",
55
"homepage": "https://github.com/bueltge/wordpress-multisite-enhancements",
66
"bugs": "https://github.com/bueltge/wordpress-multisite-enhancements/issues",

readme.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Contributors: Bueltge, inpsyde
33
Tags: multisite, administration, admin bar, network,
44
Requires at least: 4.6
5-
Tested up to: 5.1
5+
Tested up to: 5.3
66
Requires PHP: 5.6
7-
Stable tag: 1.5.1
7+
Stable tag: 1.5.2
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -97,6 +97,10 @@ I'm German and my English might be gruesome here and there.
9797
So please be patient with me and let me know of typos or grammatical parts. Thanks
9898

9999
== Changelog ==
100+
= 1.5.2 (2019-11-14) =
101+
* Fix style problem on list of all sites for admin bar.
102+
* Change enqueue of styles and script to default variants.
103+
100104
= 1.5.1 (2019-02-25) =
101105
* Remove feature 'Networkmenu is now scrollable'.
102106

0 commit comments

Comments
 (0)