-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
readme.txt
executable file
·248 lines (194 loc) · 13 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
=== Multisite Enhancements ===
Contributors: Bueltge, inpsyde, danielhuesken
Tags: multisite, administration, admin bar, network,
Requires at least: 4.6
Tested up to: 6.6
Requires PHP: 7.2
Stable tag: 1.7.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Enhance Multisite for Network Admins with different topics
== Description ==
When you work quite a bit with WordPress Multisites, sometimes you need more information or menu items. This plugin enhances the network area for super admins with useful functions.
* Adds Blog and User ID in network view [more](http://wpengineer.com/2188/view-blog-id-in-wordpress-multisite/)
* Enables an 'Add New' link under the Plugins menu for Network admins
* Adds several useful items to the multisite 'Network Admin' admin bar
* On the network plugins page, show which site has this plugin active
* On the network theme page, show which blog has the theme active and which is a Child theme
* Change Admin footer text for Administrators to view currently used RAM, SQL, RAM versions fast
* Adds Favicon from the theme folder to the admin area to easily identify the blog. Use the `favicon.ico` file in the theme folder of the active theme in each blog
* Adds Favicon to each blog on the Admin Bar Item 'My Sites'. If you like a custom path for each favicon, please see the [documentation](https://github.com/bueltge/WordPress-Multisite-Enhancements/wiki/Filter-Hook-for-Favicon-File-Path) for this feature.
* Removes also the 'W' logo and his sub-links in the admin bar
* Adds the status to each site in the admin bar to identify fastly if the site has a `noindex` status and to see the external url.
* Handy SSL identifier for each site on the network site view page.
* See the last login of users.
* Add functions to be used in your install
* The function `get_blog_list()` is currently deprecated in the WP Core, but currently usable. The plugin checks this and gets an alternative in [`inc/autoload/core.php`](./inc/autoload/core.php)
* If you will develop the alternative to this function from my source, then use the method `get_blog_list()` in class `Multisite_Core`. My source also uses caching with the Transient API. More about the function in [`inc/autoload/class-core.php`](./inc/autoload/class-core.php).
* If you use WordPress version 3.7 and higher, then check the function `wp_get_sites()`, the new alternative function inside the core to get all sides inside the network. The function accepts a array with arguments, see the [description](http://wpseek.com/wp_get_sites/).
* But if you use WordPress 4.6 and higher then that new alternative ;) - `get_sites()` - is the current function to get all sites in the network. The helper method of this plugin `Multisite_Core::get_blog_list()` or the function `get_blog_list()` have all checks included.
* Filter the theme list to find your target quickly. This works on a single theme page and also on a network theme page.
= Crafted by Inpsyde =
The team at [Inpsyde](http://inpsyde.com/) is engineering the web and WordPress since 2006.
= Donation? =
If you want to donate - we prefer a [positive review](https://wordpress.org/support/view/plugin-reviews/multisite-enhancements?rate=5#postform), nothing more.
== Installation ==
= Requirements =
* WordPress Multisite 3.0+
* PHP 7.2*, newer PHP versions will work faster.
= Installation =
* Use the installer via the backend of your install or ...
1. Unpack the download-package
2. Upload the files to the `/wp-content/plugins/` directory
3. Activate the plugin through the 'Network/Plugins' menu in WordPress and hit 'Network Activate'
4. Change the default settings in the Network Admin Menu, Settings --> Multisite Enhancements
== Screenshots ==
1. Add Blog-ID on Sites
2. Add User-ID on Users
3. Add New link to install new plugin on each blog
4. Manage Comments with Counter on Admin Bar
5. On which blog is the plugin active
6. On which blog is the theme active
7. New Admin footer text
8. Favicon on Admin bar
9. Filter Themes
== Other Notes ==
**Crafted by [Inpsyde](https://inpsyde.com) · The team is engineering the Web since 2006.**
= Hints, knowledge =
See also for helpful hints on the [wiki page](https://github.com/bueltge/wordpress-multisite-enhancements/wiki).
Especially the following topics are interest:
* [Filter Hook for Favicon File Path - Define your custom Favicon path](https://github.com/bueltge/WordPress-Multisite-Enhancements/wiki/Filter-Hook-for-Favicon-File-Path)
* [Large Network Problem](https://github.com/bueltge/wordpress-multisite-enhancements/wiki/Large-Network-Problem)
= Bugs, technical hints or contributions =
Please give me feedback, contribute, and file technical bugs on this
[GitHub Repo](https://github.com/bueltge/WordPress-Multisite-Enhancements/issues), use Issues.
= License =
Good news, this plugin is free for everyone! Since it's released under the GPL,
you can use it free of charge on your personal or commercial blog. But if you enjoy this plugin,
you can thank me and leave a
[small donation](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6069955 "Paypal Donate link")
for the time I've spent writing and supporting this plugin.
And I really don't want to know how many hours of my life this plugin has already eaten ;)
= Contact & Feedback =
The plugin is designed and developed by me [Frank Bültge](http://bueltge.de), [G+ Page](https://plus.google.com/+FrankBültge/about?rel=author)
Please let me know if you like the plugin or hate it.
Please fork it, and add an issue for ideas and bugs on the [Github Repository](https://github.com/bueltge/WordPress-Multisite-Enhancements).
= Disclaimer =
I'm German, and my English might be gruesome here and there.
So please be patient with me and let me know if there are typos or grammatical parts. Thanks
== Changelog ==
= 1.7.1 (2024-07-18) =
* Fixing corrupt blog loop, [#81](https://github.com/bueltge/wordpress-multisite-enhancements/issues/81)
= 1.7.0 (2024-06-10) =
* Fixing fatal error triggered by a missing slash, [#70](https://github.com/bueltge/wordpress-multisite-enhancements/pull/70). Probs @brasofilo
* Enhance the footer information to make the memory values clearer. [#71](https://github.com/bueltge/wordpress-multisite-enhancements/issues/71)
* Fix php note for favicon functionality. [#65](https://github.com/bueltge/wordpress-multisite-enhancements/issues/65)
* Change dashicons from lock/unlock to yes/no to optimize the visual difference of the icon to spot http usage easier. Probs @Zodiac1978 [#76](https://github.com/bueltge/wordpress-multisite-enhancements/pull/70)
* Added functionality to see when a user last time logs in
* Update minimum PHP Version to 7.2
* Added Namespace, Autoloading, and many more PHP improvements and cleanups
= 1.6.1 (2021-01-20) =
* Fix path for css/js files.
= 1.6.0 (2021-01-17) =
* Add settings page, Big probs to @hvianna
= 1.5.4 (2020-11-16) =
* Quickfix for custom favicon.
= 1.5.3 (2020-11-09) =
* Show site path for sites with blank titles in the themes and plugins lists.
* Show status of deleted sites.
* Apply styles for archived and deleted sites in the lists.
* Replace obsolete HTML 'nobr' element.
* Small fix for php notice on missing url parameters from Favicon feature.
* Improve site label/icon positioning.
= 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.
* Remove filter script on plugins, because is a part of the core.
= 1.5.1 (2019-02-25) =
* Remove feature 'Networkmenu is now scrollable'.
= 1.5.0 (2019-02-24) =
* Networkmenu is now scrollable.
* More clearance for the message about inactive cache.
* Small php fixes.
= 1.4.3 (2018-05-17) =
* Fix undefined index Network on plugin list, #46
* Fix small php notes.
* Fix the possibility to translate the footer message about RAM, SQL queries.
* Add fix to leave message for the parent theme in a single line.
* Add Ui change to list more as 4 themes in Theme usage overview. Probs @n-goncalves #44
= 1.4.2 (2017-02-22) =
* Change syntax for usage of plugins, themes; probs @cfoellmann
* Count the usage in sites for plugins, themes; probs @cfoellmann
* Change of the autoloader, the removal of a function is now more solid. See [the wiki page](https://github.com/bueltge/wordpress-multisite-enhancements/wiki/Remove-features); probs @cfoellmann
* Added option to display or hide the list of sites if too big #44; probs @n-goncalves
= 1.4.1 (2017-08-10) =
* Added a change for initialization of the class to run also on php 5.3 installs.
= 1.4.0 (2017-07-23) =
* Adds handy ssl identifier to each site in network site view page.
= 1.3.8 (2017-02-23) =
* Fixed duplicated view on parent theme usage.
* Adds status text to a site, if is a archived site on plugin/theme list.
= 1.3.7 (2016-10-24) =
* Fix the usage of plugins for each site in the network on the plugin network view.
* Add helpers to remove transient caching for development, debugging, if `WP_DEBUG` is true.
* Fix markup error of missing closing tag in footer text.
* Fix markup error on comment admin bar menu item in each site item of the item 'My Sites'.
* Add possibility to translate the plugin.
= 1.3.6 (2016-10-07) =
* Switch to new core function `get_sites`
* Remove Plugin Search, now inside the core, since WP 3.6.0
* Add Theme filter search to single and network theme page to find fast and simple the result.
= 1.3.5 (2016-05-30) =
* Performance: Change the function to get all sites of a user to set favicon. [#25](https://github.com/bueltge/wordpress-multisite-enhancements/issues/25)
= 1.3.4 (2016-05-19) =
* Fix value type for nodes from admin bar.
* Enhance the Multisite requirements check.
= 1.3.3 (2016-01-15) =
* Fix Blog Id enhancement, change filter type.
* Change different code topics for better performance and stability.
= 1.3.2 (2015-12-17) =
* Prevent PHP Warning. Props noelboss
= 1.3.1 (2015-12-03) =
* Enhance the external domain check for more exactly check, that's also work on root domain of multisite. Props Matt [Thread](https://wordpress.org/support/topic/main-blog-being-tagged-as-external-domain)
= 1.3.0 (2015-11-28) =
* Add new functionality to filter plugin list live.
* Improve status label filter `multisite_enhancements_status_label`, now with the parameters `$blogname` and `$blog`.
= 1.2.1 (2015-09-24) =
* Bugfix: Correction for the site icon topic. The functions "has_site_icon" and "get_site_icon_url" aren't compatible with multisites. Icon only displayed when on that blog, in network or other blog the WP logo showed.
* Enhancement: Check for active usage of admin bar before add favicon to Admin Bar.
= 1.2.0 (2015-09-03) =
* Add support for Favicon feature `wp_site_icon` since WP 4.3, probs [JoryHogeveen](https://github.com/JoryHogeveen)
* Add status label to each site in the admin bar, probs JoryHogeveen
* Codex changes
* Add hook `multisite_enhancements_autoload` to unset files, there not necessary on autoload, see also the [Wiki](https://github.com/bueltge/wordpress-multisite-enhancements/wiki) for more information
= 1.1.0 (2015-02-26) =
* Some modifications to plugin and theme admin columns for better performance and usage on Multisites with more as 100 blogs, plugins, themes [Issue #16](https://github.com/bueltge/wordpress-multisite-enhancements/pull/16)
* Code inspections
* Enhance the value to get sites inside the network form WordPress default 100 to 9999
* Add hook `multisite_enhancements_sites_limit` to change this value, see [wiki page](https://github.com/bueltge/wordpress-multisite-enhancements/wiki/Large-Network-Problem)
= 1.0.7 (09/23/2014) =
* Code maintenance
* Add parameters for custom favicon, see [documentation](https://github.com/bueltge/WordPress-Multisite-Enhancements/wiki/Filter-Hook-for-Favicon-File-Path)
= 1.0.6 (09/13/2014) =
* Add check for child theme, that you fast see, if is a child and what is the parent inside the network view of themes
= 1.0.5 (05/15/2014) =
* Fix list of active plugin in plugin network view
* Add hook for custom favicon path, see [documentation](https://github.com/bueltge/WordPress-Multisite-Enhancements/wiki/Filter-Hook-for-Favicon-File-Path)
= 1.0.4 (04/27/2014) =
* Add break, if no plugin is active, fixed [Error in "Active In" column](http://wordpress.org/support/topic/error-in-active-in-column)
= 1.0.3 (03/09/2014) =
* Remove Super Admin check, that works the enhancements also on other roles.
* Add indicator for "Network Only" Plugins.
* Add Favicon Indicator also in Admin Bar on Front end side.
= 1.0.2 (02/03/2014) =
* Add Favicon in Admin Bar also in Front end
* Enhance style for favicon size
* Grammar fix in tags, readme
* Small changes for columns and 3.8 design
= 1.0.1 (01/03/2014) =
* Add CSS rule for new WP 3.8 back end design (mp6 plugin)
* Add more whitespace on the comment count in admin bar
* Enhance the filter to list active plugins [#1](https://github.com/bueltge/WordPress-Multisite-Enhancements/issues/1)
= 1.0.0 (10/31/2013) =
* First release on wordpress.org after different installs with different users
For more information about changes see the commits on the [working repository](https://github.com/bueltge/WordPress-Multisite-Enhancements/commits/master).