Adminimize - Version 1.9.1

Version Description

(2016-25-01) = * Bugfix for fixing ssl protocol in WP core on include styles and scripts.

Download this release

Release Info

Developer Bueltge
Plugin Icon wp plugin Adminimize
Version 1.9.1
Comparing to
See all releases

Code changes from version 1.9.0 to 1.9.1

Files changed (4) hide show
  1. CHANGELOG.md +332 -0
  2. adminimize.php +2 -2
  3. inc-setup/helping_hands.php +29 -21
  4. readme.txt +11 -42
CHANGELOG.md ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## 1.9.1 (2016-25-01)
2
+ * Bugfix for fixing ssl protocol in WP core on include styles and scripts.
3
+
4
+ ## 1.9.0 (2016-01-21)
5
+ * Change Ex-/Import functions to use JSON format and remove mysql topics, there no longer valid in WP core.
6
+ * Add more checks to hide also dynamically menu items, like Customizer.
7
+ * Update spanish and german language file.
8
+ * Fix PHP Warning [PHP Warning: in_array()](https://wordpress.org/support/topic/php-warning-in_array-expects-parameter-2-to-be-array?replies=3)
9
+ * Fix PHP Notice: Array to string conversion
10
+ * UI change: Fixed head on tables.
11
+ * Update italian language files, props to marcochiesi.
12
+ * Add global option to hide admin notices for each role.
13
+ * Replace static source to get option, only one function to get it.
14
+ * Change Admin Bar Feature: Difference between front-end and back-end.
15
+ * More stability on admin bar settings. Switch hook to set, get data of admin bar.
16
+ * Add possibilty to select/unselect all checkboxess for each area.
17
+ * Fix redirect feature, if Dashboard menu item is active for a role.
18
+ * Remove functions for WordPress versions smaller 3.5.
19
+ * Remove css tyles small WP 4.0
20
+ * Add minify js/css.
21
+ * Several code changes.
22
+ * Add custom fix for hide editors on post types.
23
+ * Several performance changes, like replace from `array_push`.
24
+ * Fix Role check, new function to fix [#22624](https://core.trac.wordpress.org/ticket/22624).
25
+ * Exclude Settings page and Super Admin from remove Dashboard function.
26
+
27
+ ## 1.8.5 (2015-03-19)
28
+ * Add brazilian portuguese translation, thanks to [Rafael Funchal](http://www.rafaelfunchal.com.br/)
29
+ * Small code changes for php notices
30
+ * Fix Admin Bar Feature
31
+ * Different code maintenance
32
+ * Enhance readme for helpful links under FAQ
33
+ * Fix to remove admin bar
34
+
35
+ ## 1.8.4 (06/06/2013)
36
+ * Change Widget Settings, better to unregister widgets from other themes and plugins
37
+ * Add more usability to the settings page
38
+ * Small major changes
39
+
40
+ ## 1.8.3 (04/07/2013)
41
+ * Fix for use it with bbPress
42
+ * Small minor changes
43
+
44
+ ## 1.8.2 (02/15/2013)
45
+ * Fix PHP Notice message for empty var, see [support](http://wordpress.org/support/topic/undefined-index-current_screen)
46
+ * Changes for load files and functions only, if it necessary
47
+ * Fix, that the changes on Admin Bar work always in all admin pages
48
+
49
+ ## 1.8.1 (01/10/2013)
50
+ * Fix PHP notice on message for network
51
+ * Check for active links manager; change from WP 3.5
52
+ * Add Widget settings (Beta)
53
+ * Fix for remove admin bar in backend
54
+ * Remove Backend options, there not usable with WP 3.5 and earlier
55
+ * Fix 'Category Height' on Meta Box on write post; See always all categories, without scrolling inside Meta Box
56
+ * Fix to hide footer, but this is still usable by adding custom content
57
+ * Fix Hints, Options for Multisite install
58
+ * Add Admin Bar options (Beta)
59
+
60
+ ## v1.8.0
61
+ * Simple Support for WP Multisite
62
+ * Enhancement for hide Text-Tab on editors in custom post types
63
+ * Small fix for PHP notice
64
+
65
+ ## v1.7.27
66
+ * Fix for hide Admin Bar in WP 3.4
67
+ * Fix for remove sections on custom post types in edit screen table
68
+ * Enhancements for reduce sections on edit post and page
69
+ * Enhancement for User Info to use also in Admin Bar in front end
70
+ * Fix for different pages in admin, see [forum thread](http://wordpress.org/support/topic/plugin-adminimize-hide-page-and-subpages-editphp)
71
+ * Fix, if you don't use redirect for php notice
72
+ * Add romanian language
73
+
74
+ ## v1.7.26
75
+ * Typo for settings message [see thread](http://wordpress.org/support/topic/plugin-adminimize-what-does-the-settings-page-ignores-this-settings-mean?replies=4)
76
+ * Fix for custom areas on Custom Post Types, [see thread](http://wordpress.org/support/topic/plugin-adminimize-bug-in-custom-metabox-ids-for-custom-types?replies=3)
77
+ * Exclude backend theme options, was used only smaller 2.0 of WP
78
+ * Exclude Hint in Footer
79
+ * Exclude write scroll options
80
+ * Different cleaner actions
81
+
82
+ ## v1.7.25
83
+ * Update for fix menu-items with entities
84
+ * [Fix](http://plugins.trac.wordpress.org/changeset/494274) for display settings on menu, if items are deactivated
85
+ * Add Separator to settings of menu, for hide this for different roles
86
+ * Add notice for settings page, that no settings work on this page
87
+ * Fix rewrite, if change the user info area and define an rewrite
88
+ * List Separator on menu-items; also possible to hide this
89
+
90
+ ## v1.7.24
91
+ * Maintenance: add ID for hide html-tab on Editor also in WP 3.3
92
+ * Bug fixing for WP 3.2.1 with the new functions :(
93
+
94
+ ## v1.7.23
95
+ * Maintenance: change function to remove admin bar for WP 3.3, see [Forum item](http://wordpress.org/support/topic/694201)
96
+ * Maintenance: change for USer Info to works also in WP 3.3
97
+
98
+ ## v1.7.22
99
+ * Security fix for $_GET on the admin-settings-page
100
+
101
+ ## v1.7.21
102
+ * SORRY: i had an svn bug; here the complete version
103
+ * no changes; only a new commit to svn
104
+
105
+ ## v1.7.20
106
+ * fix small bug for use plugin Localization
107
+ * add Dashboard Widgets to remove for different roles
108
+
109
+ ## v1.7.19
110
+ * fix page for links - `link.php`
111
+ * add irish language files
112
+ * add bulgarian language files
113
+
114
+ ## v1.7.18 (06/07/2011)
115
+ * Fixes Small User info on right top with Admin Bar, also ready for WP 3.2
116
+ * Fixes Error for xmlrpc
117
+ * Add QuickEdit-Areas for hide this
118
+ * Different changes on source
119
+ * With WP 3.2 remove all Admin Styles !
120
+ * Add support for custom post type
121
+ * many small changes on source
122
+ * update de_DE language files
123
+ * tested only in version 3.1 and 3.2-beta; don't test in smaller version
124
+ * add hindi language file
125
+
126
+ ## v1.7.17 (04/11/2011)
127
+ * Fixes on Admin-CSS Styles for WP 3.*
128
+ * Reduce backend Styles of the Plugins - Goal: kill all styles!!! (to heavy for Maintenance)
129
+
130
+ ## v1.7.16 (04/01/2011)
131
+ * Bug-fix: change init-function; admin bar also on frontend and backend and all other options of global only on backend
132
+ * Remove new hock on wp admin bar; include inline styles; only on deactivate admin bar
133
+ * Fix language errors
134
+ * Add meta box post formats
135
+ * Update de_DE language files
136
+
137
+ ## v1.7.15 (03/30/2011)
138
+ * Change functions for reduce WP Nav Menu
139
+ * change to check for super admin; add new function and option on Global Options to set this
140
+ * Maintenance: check for functions in Multisite, Super-admin for use the plugin smaller WP 3.0
141
+ * Feature: add css for more usability on settings
142
+ * Bug-fix: custom values for WP Nav Menu
143
+ * Add Option for Super Admin
144
+ * Change option for rewrite, after deactivate Dashboard; now you use a custom url, incl. http://
145
+ * Maintenance: Language File
146
+
147
+ ## v1.7.14 (03/03/2011)
148
+ * Maintenance: remove php notice on role editor
149
+ * Maintenance: Add fallback for don't load menu/sub-menu
150
+ * Maintenance: Exclude all options in different files
151
+
152
+ ## v1.7.13 (03/02/2011)
153
+ * Maintenance: different changes on code
154
+ * Maintenance: usable in WP 3.1
155
+ * Feature: Remove Admin Bar per role
156
+ * Feature: Add options for WP Nav Menu
157
+ * Bug-fix: php warning for wrong data-type [WP Forum](http://wordpress.org/support/topic/plugin-adminimize-warning-in-array)
158
+ * Bug-fix: php warning on foreach [WP Forum](http://wordpress.org/support/topic/plugin-adminimize-warning-error-invalid-argument-supplied-for-foreach)
159
+
160
+ ## v1.7.12 (10/02/2010)
161
+ * Bug-fix: Fallback for deactivate profile.php on roles smaller administration
162
+ * Bug-fix: Redirect from Dashboard on different roles
163
+ * Maintenance: small changes on code
164
+
165
+ ## v1.7.11 (09/24/2010)
166
+ * Bug-fix: for WP < 3.0; function get_post_type_object() is not exist
167
+
168
+ ## v1.7.10 (09/24/2010)
169
+ * Bug-fix: link-page in admin
170
+ * Bug-fix: meta-boxes on link-page
171
+ * Bug-fix: check for post or page with WP 3.*
172
+ * Maintenance: german language files
173
+ * Maintenance: pot-file
174
+ * Feature: new css for "User-info" in WP 3.0
175
+ * Maintenance: incl. the new css-file
176
+
177
+ ## v1.7.9 (09/15/2010)
178
+ * Bug-fix for new role-checking
179
+
180
+ ## v1.7.8 (09/13/2010)
181
+ * changes for WPMU and WP 3.0 MultiSite
182
+ * bug-fix for admin-menu in WPMU and WP 3.0 MultiSite
183
+ * bug-fix for meta boxes in WPMU and WP 3.0 MultiSite
184
+ * bug-fix for global settings in WPMU and WP 3.0 MultiSite
185
+ * bug-fix for link-options in WPMU and WP 3.0 MultiSite
186
+ * bug-fix for custom redirect after login
187
+ * different bug-fixes fpr php-warnings
188
+
189
+ ## v1.7.7 (03/18/2010)
190
+ * small fixes for redirect on deactivate Dashboard
191
+ * add dutch language file
192
+
193
+ ## v1.7.6 (01/14/2010)
194
+ * fix array-check on new option disable HTML Editor
195
+
196
+ ## v1.7.5 (01/13/2010)
197
+ * new function: disable HTML Editor on edit post/page
198
+
199
+ ## v1.7.4 (01/10/2010)
200
+ * Fix on Refresh menu and sub-menu on settings-page
201
+ * Fix for older WordPress versions and function current_theme_supports
202
+
203
+ ## v1.7.3 (01/08/2010)
204
+ * Add Im-/Export function
205
+ * Add new meta boxes from WP 2.9 post_thumbnail, if active from the Theme
206
+ * Small modifications and code and css
207
+ * Add new functions: hide tab for help and options on edit post or edit page; category meta box with ful height, etc.
208
+
209
+ ## v1.7.2 (07/08/2009)
210
+ * Add fix to deactivate user.php/profile.php
211
+
212
+ ## v1.7.1 (17/06/2009)
213
+ * Add belorussian language file, thanks to Fat Cow
214
+
215
+ ## v1.7.1 (16/06/2009)
216
+ * changes for load user date on settings themes; better for performance on blogs with many Users
217
+ * small bug-fixes on textdomain
218
+ * changes on hint for settings on menu
219
+ * new de_DE language file
220
+ * comments meta box add to options on post
221
+
222
+ ## v1.7 (23/06/2009)
223
+ * Bug-fix for WordPress 2.6; Settings-Link
224
+ * alternate for `before_last_bar()` and change class of div
225
+
226
+ ## 1.6.9 (19/06/2009)
227
+ * Bug-fix, Settingslink gefixt;
228
+ * Changes on own defines with css selectors; first name, second css selector
229
+ * Bug-fix in own options to pages
230
+
231
+ ## 1.6.8 (18/06/2009)
232
+ * Bug-fix in german language file
233
+
234
+ ## 1.6.6-7 (10/06/2009)
235
+ * Add Meta Link in 2.8
236
+
237
+ ## 1.6.5 (08/05/2009)
238
+ * Bug-fix, Doculink only on admin page of Adminimize
239
+
240
+ ## 1.6.4 (27/04/2009)
241
+ * new Backend-Themes
242
+ * more options
243
+ * multilanguage for role-names
244
+
245
+ ## 1.6.1, 1.6.3 (24/05/2009)
246
+ * ready for own roles
247
+ * new options for link-area on WP backend
248
+ * own options for all areas, use css selectors
249
+ * ...
250
+
251
+ ## v1.6
252
+ * ready for WP 2.7
253
+ * new options area, parting of page and post options
254
+ * add wp_nonce for own logout
255
+ * ...
256
+
257
+ ## v1.5.3-8
258
+ * Changes for WP 2.7
259
+ * changes on CSS design
260
+ * ...
261
+
262
+ ## v1.5.2
263
+ * own redirects possible
264
+
265
+ ## v1.5.1
266
+ * Bug-fix f&uuml;r rekursiven Array; Redirect bei deaktivem Dashboard funktionierte nicht
267
+
268
+ ## v1.5
269
+ * F&uuml;r jede Nutzerrolle besteht nun die M&uuml;glichkeit, eigene Menus und Metaboxes zu setzen. Erweiterungen im Backend-Bereich und Vorbereitung f&uuml;r WordPress Version 2.7
270
+
271
+ ## v1.4.7
272
+ * Bug-fix CSS-Adresse f&uuml;r WP 2.5
273
+
274
+ ## v1.4.3-6
275
+ * Aufrufe diverser JS ge&auml;ndert, einige &uuml;bergreifende Funktionen nun auch ohne aktives Adminimize-Theme
276
+
277
+ ## v1.4.2
278
+ * kleine Erweiterungen, Variablenabfragen ge&auml;ndert
279
+
280
+ ## v1.4.1
281
+ * Bug-fixes und Umstellung Sprache
282
+
283
+ ## v1.4
284
+ * Performanceoptimierung; <strong>Achtung:</strong> nur noch 1 Db-Eintrag, bei Update auf Version 1.4 zuvor die Deinstallation-Option nutzen und die Db von &uuml;berfl&uuml;ssigen Eintr&auml;gen befreien.
285
+
286
+ ## v1.3
287
+ * Backendfunktn. erweitert, Update f&uuml;r PressThis im Bereich Schreiben, etc.
288
+
289
+ ## v1.2
290
+ * Erweiterungen der MetaBoxen
291
+
292
+ ## v1.1
293
+ * Schreiben-, Verwalten-Bereich ist deaktivierbar; CSS-Erweiterungen des WP 2.3 Themes f&uuml;r WP 2.6; Sidebar im Schreiben-Bereich noch mehr konfigurierbar, Optionsseite ausgebaut, kleine Code-Ver&auml;nderungen
294
+
295
+ ## v1.0
296
+ * JavaScript schlanker durch die Hilfe von <a href="http://www.schloebe.de/">Oliver Schl&uuml;be</a>
297
+
298
+ ## v0.8.1
299
+ * Hinweis im Footer m&uuml;glich, optional mit optionalen Text, Weiterleitung immer ersichtlich
300
+
301
+ ## v0.8
302
+ * Weiterleitung nach Logout m&uuml;glich
303
+
304
+ ## v0.7.9
305
+ * Zus&auml;tzlich ist innerhalb der Kategorien nur "Kategorien hinzuf&uuml;gen" deaktiverbar
306
+
307
+ ## v0.7.8
308
+ * Mehrsprachigkeit erweitert
309
+
310
+ ## v0.7.7
311
+ * Bug-fix f&uuml;r Metabox ausblenden in Write Page
312
+
313
+ ## v0.7.6
314
+ * Checkbox f&uuml;r alle ausw&auml;hlen auch in Page und Post, Korrektur in Texten
315
+
316
+ ## v0.7.5
317
+ * Checkbox f&uuml;r alle ausw&auml;hlen, Theme zuweisen
318
+
319
+ ## v0.7.3
320
+ * Optionale Weiterleitung bei deaktiviertem Dashboard, Einstellungen per Plugin-Seite m&uuml;glich, Admin-Footer erg&auml;nzt um Plugin-infos
321
+
322
+ ## v0.7.2
323
+ * Update Options Button zus&auml;tzlich im oberen Abschnitt
324
+
325
+ ## v0.7.1
326
+ * Thickbox Funktion optional
327
+
328
+ ## v0.7
329
+ * WriteScroll optional, MediaButtons deaktivierbar
330
+
331
+ ## v0.6.9
332
+ * Theme WordPress 2.3 hinzugekommen, Footer deaktivierbar
adminimize.php CHANGED
@@ -7,13 +7,13 @@
7
  * Description: Visually compresses the administrative meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for all roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles.
8
  * Author: Frank Bültge
9
  * Author URI: http://bueltge.de/
10
- * Version: 1.9.0
11
  * License: GPLv2+
12
  *
13
  * @package WordPress
14
  * @author Frank Bültge <frank@bueltge.de>
15
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16
- * @version 2016-01-21
17
  */
18
 
19
  /**
7
  * Description: Visually compresses the administrative meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for all roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles.
8
  * Author: Frank Bültge
9
  * Author URI: http://bueltge.de/
10
+ * Version: 1.9.1
11
  * License: GPLv2+
12
  *
13
  * @package WordPress
14
  * @author Frank Bültge <frank@bueltge.de>
15
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16
+ * @version 2016-01-25
17
  */
18
 
19
  /**
inc-setup/helping_hands.php CHANGED
@@ -3,7 +3,7 @@
3
  * @package Adminimize
4
  * @subpackage Helping_Functions
5
  * @author Frank Bültge <frank@bueltge.de
6
- * @since 2015-03-19
7
  */
8
  if ( ! function_exists( 'add_action' ) ) {
9
  die( "Hi there! I'm just a part of plugin, not much I can do when called directly." );
@@ -53,41 +53,49 @@ function _mw_adminimize_in_arrays( $array1, $array2 ) {
53
  return (bool) count( array_intersect( $array1, $array2 ) );
54
  }
55
 
56
- // fix some badly enqueued scripts with no sense of HTTPS
57
  // Kudos to http://snippets.webaware.com.au/snippets/cleaning-up-wordpress-plugin-script-and-stylesheet-loads-over-ssl/
58
  add_action( 'wp_print_scripts', '_mw_adminimize_enqueueScriptsFix', 100 );
59
  add_action( 'wp_print_styles', '_mw_adminimize_enqueueStylesFix', 100 );
60
 
61
  /**
62
- * force plugins to load scripts with SSL if page is SSL
63
  */
64
  function _mw_adminimize_enqueueScriptsFix() {
65
 
66
- if ( ! is_admin() ) {
67
- if ( ! empty( $_SERVER[ 'HTTPS' ] ) ) {
68
- global $wp_scripts;
69
- foreach ( (array) $wp_scripts->registered as $script ) {
70
- if ( stripos( $script->src, 'http://', 0 ) !== FALSE ) {
71
- $script->src = str_replace( 'http://', 'https://', $script->src );
72
- }
73
- }
 
 
 
 
74
  }
75
  }
76
  }
77
 
78
  /**
79
- * force plugins to load styles with SSL if page is SSL
80
  */
81
  function _mw_adminimize_enqueueStylesFix() {
82
 
83
- if ( ! is_admin() ) {
84
- if ( ! empty( $_SERVER[ 'HTTPS' ] ) ) {
85
- global $wp_styles;
86
- foreach ( (array) $wp_styles->registered as $script ) {
87
- if ( stripos( $script->src, 'http://', 0 ) !== FALSE ) {
88
- $script->src = str_replace( 'http://', 'https://', $script->src );
89
- }
90
- }
 
 
 
 
91
  }
92
  }
93
  }
@@ -107,4 +115,4 @@ function _mw_adminimize_current_user_has_role( $role ) {
107
  }
108
 
109
  return FALSE;
110
- }
3
  * @package Adminimize
4
  * @subpackage Helping_Functions
5
  * @author Frank Bültge <frank@bueltge.de
6
+ * @since 2016-01-22
7
  */
8
  if ( ! function_exists( 'add_action' ) ) {
9
  die( "Hi there! I'm just a part of plugin, not much I can do when called directly." );
53
  return (bool) count( array_intersect( $array1, $array2 ) );
54
  }
55
 
56
+ // Fix some badly enqueued scripts with no sense of HTTPS.
57
  // Kudos to http://snippets.webaware.com.au/snippets/cleaning-up-wordpress-plugin-script-and-stylesheet-loads-over-ssl/
58
  add_action( 'wp_print_scripts', '_mw_adminimize_enqueueScriptsFix', 100 );
59
  add_action( 'wp_print_styles', '_mw_adminimize_enqueueStylesFix', 100 );
60
 
61
  /**
62
+ * Force plugins to load scripts with SSL if page is SSL.
63
  */
64
  function _mw_adminimize_enqueueScriptsFix() {
65
 
66
+ if ( is_admin() ) {
67
+ return;
68
+ }
69
+
70
+ $https_values = array( NULL, 'off' );
71
+ if ( ! isset( $_SERVER[ 'HTTPS' ] ) || in_array( $_SERVER[ 'HTTPS' ], $https_values ) ) {
72
+ return;
73
+ }
74
+
75
+ foreach ( (array) $GLOBALS[ 'wp_scripts' ]->registered as $script ) {
76
+ if ( FALSE !== stripos( $script->src, 'http://', 0 ) ) {
77
+ $script->src = str_replace( 'http://', 'https://', $script->src );
78
  }
79
  }
80
  }
81
 
82
  /**
83
+ * Force plugins to load styles with SSL if page is SSL.
84
  */
85
  function _mw_adminimize_enqueueStylesFix() {
86
 
87
+ if ( is_admin() ) {
88
+ return;
89
+ }
90
+
91
+ $https_values = array( NULL, 'off' );
92
+ if ( ! isset( $_SERVER[ 'HTTPS' ] ) || in_array( $_SERVER[ 'HTTPS' ], $https_values ) ) {
93
+ return;
94
+ }
95
+
96
+ foreach ( (array) $GLOBALS[ 'wp_styles' ]->registered as $script ) {
97
+ if ( FALSE !== stripos( $script->src, 'http://', 0 ) ) {
98
+ $script->src = str_replace( 'http://', 'https://', $script->src );
99
  }
100
  }
101
  }
115
  }
116
 
117
  return FALSE;
118
+ }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Bueltge
3
  Donate link: https://www.paypal.me/FrankBueltge
4
  Tags: color, scheme, theme, admin, dashboard, color scheme, plugin, interface, ui, metabox, hide, editor, minimal, menu, customization, interface, administration, lite, light, usability, lightweight, layout, zen
5
  Requires at least: 4.0
6
- Tested up to: 4.4
7
- Stable tag: 1.9.0
8
 
9
  Adminimize that lets you hide 'unnecessary' items from the WordPress backend
10
 
@@ -16,62 +16,28 @@ Adminimize makes it easy to remove items from view based on a user’s role.
16
  = Search for helping hands =
17
  Over the time the plugin was extended the plugin with much requirements and his solutions. But the source is not easy to maintain for me, I’m unhappy with the source. I have learned about coding, architecture etc.
18
 
19
- Currently I search for developer there will help on dev and support the plugin. The plugin have a [github repository](https://github.com/bueltge/Adminimize) to easy add a issue or a create a fork, pull request. Also to add issues to understand problems.
20
 
21
  Especially the functionality for WP Multisite is currently more a hack as a solution. But is very complex, not easy to create a solution for this.
22
 
23
  For development see this repository: https://github.com/bueltge/Adminimize
24
- The master branch is the current version and the new will leave in the v2.0 branch.
25
 
26
  = Support Custom Options on all different post types =
27
- With version 1.6.1 it is possible to add own options for hide areas in the backend of WordPress. It is easy and you must only forgive ID or class of the tag. Also it is possible to use a fixed menu and header.
28
 
29
  = Support Custom Post Type =
30
- Also it is possible with version 1.7.18 to use on custom post types; hide 'unnecessary' areas on the custom post types for different roles and post types.
31
 
32
  = Compatibility with plugins for MetaBoxes in Write-area =
33
  You can add your own options, you must only see for css selectors
34
 
35
  = Requirements =
36
- * WordPress version 2.8 and later; tested only in last stable version.
37
 
38
  = What does this plugin do? =
39
  The plugin changes the administration backend and gives you the power to assign rights on certain parts. Admins can activate/deactivate every part of the menu and even parts of the sub-menu. Meta fields can be administered separately for posts and pages. Certain parts of the write menu can be deactivated separately for admins or non-admins. The header of the backend is minimized and optimized to give you more space and the structure of the menu gets changed to make it more logical - this can all be done per user so each user can have his own settings.
40
 
41
- = Details =
42
- 1. the admin theme can be set per user. To change this go to user settings
43
- 1. currently you can use the theme together with the color settings for the Fresh and Classic themes
44
- 1. more colors can be easily added
45
- 1. new menu structure: on the left hand site you find classic menu points for managing and writing, while the right part is reserved for settings, design, plugins and user settings
46
- 1. the dashboard has been moved into the menu itself but this can be deactivated if its not desired
47
- 1. the menu is now smaller and takes up less space
48
- 1. the WRITE menu has been changed as follows:
49
- 1. it is no longer limited to a fixed width but flows to fill your whole browser window now
50
- 1. you can scroll all input fields now, no need to make certain parts of the WRITE screen bigger
51
- 1. categories moved to the sidebar
52
- 1. tags moved to the sidebar if you are not using the plugin "Simple Tags"
53
- 1. the editing part gets auto-scrolled which makes sense when using a small resolution
54
- 1. the media uploader now uses the whole screen width
55
- 1. supports the plugin "Admin Drop Down Menu" - when the plugin is active the user has two more backend-themes to chose from
56
- 1. supports the plugin "Lighter Menus" - when that plugin is active the user has another two backend-themes to chose from
57
- 1. two new color schemes are now available
58
- 1. the width of the sidebar is changeable to standard, 300px, 400px or 30%
59
- 1. each meta field can now be deactivated (per user setting) so it doesn't clutter up your write screen
60
- 1. you can even deactivate other parts like h2, messages or the info in the sidebar
61
- 1. the part of the user info you have on the upper - right part of your menu can be deactivated or just the log-out link
62
- 1. the dashboard can be completely removed from the backend
63
- 1. all menu and sub menu points can be completely deactivated for admins and non-admins
64
- 1. most of these changes are only loaded when needed - i.e. only in the write screen
65
- 1. set a backend-theme for difficult user
66
- 1. you can set an role to view the areas on link page, edit post, edit page and global
67
- 1. you can add own options for set rights to role
68
- 1. it is possible to disable HTML-Editor on edit-area, only Visual-tab
69
- 1. remove widgets in widgets settings for different role
70
- 1. remove admin bar for different role
71
- 1. remove admin bar items for different role
72
- 1. remove items on custom post types for different role
73
- 1. ... many many more
74
-
75
  == Installation ==
76
  1. Unpack the download-package
77
  2. Upload folder include all files to the `/wp-content/plugins/` directory. The final directory tree should look like `/wp-content/plugins/adminimize/adminimize.php`, `/wp-content/plugins/adminimize/adminimize_page.php`, `/wp-content/plugins/adminimize/css/` and `/wp-content/plugins/adminimize/languages`
@@ -79,7 +45,7 @@ The plugin changes the administration backend and gives you the power to assign
79
  4. Selecting Colour Scheme and Theme, selection in Your Profile, go to your User Profile (under `Users` > `Your Profile` or by clicking on your name at the top right corner of the administration panel).
80
  5. Administrator can go to `Options` > `Adminimize` menu and configure the plugin (Menu, Sub-menu, Meta boxes, ...)
81
 
82
- * or use the automatic install via backend of WordPress
83
 
84
  = Advice =
85
  Please use the `Uninstall-Function` in the option-area before update to version 1.4! Version 1.4 and higher have only one database entry and the `Uninstall-Option` uninstall the old entry's.
@@ -88,6 +54,9 @@ Please use the `Uninstall-Function` in the option-area before update to version
88
  1. Settings area in WP 4.5-alpha
89
 
90
  == Changelog ==
 
 
 
91
  = 1.9.0 (2016-01-21) =
92
  * Change Ex-/Import functions to use JSON format and remove mysql topics, there no longer valid in WP core.
93
  * Add more checks to hide also dynamically menu items, like Customizer.
3
  Donate link: https://www.paypal.me/FrankBueltge
4
  Tags: color, scheme, theme, admin, dashboard, color scheme, plugin, interface, ui, metabox, hide, editor, minimal, menu, customization, interface, administration, lite, light, usability, lightweight, layout, zen
5
  Requires at least: 4.0
6
+ Tested up to: 4.5-alpha
7
+ Stable tag: 1.9.1
8
 
9
  Adminimize that lets you hide 'unnecessary' items from the WordPress backend
10
 
16
  = Search for helping hands =
17
  Over the time the plugin was extended the plugin with much requirements and his solutions. But the source is not easy to maintain for me, I’m unhappy with the source. I have learned about coding, architecture etc.
18
 
19
+ Currently I search for developer there will help on dev and support the plugin. The plugin have a [github repository](https://github.com/bueltge/Adminimize) to easy add a issue or a create a fork, pull request. Also to add issues to understand the problems.
20
 
21
  Especially the functionality for WP Multisite is currently more a hack as a solution. But is very complex, not easy to create a solution for this.
22
 
23
  For development see this repository: https://github.com/bueltge/Adminimize
24
+ The `master` branch is the current version and the new will leave in the `refactor` branch.
25
 
26
  = Support Custom Options on all different post types =
27
+ It is possible to add own options to hide areas in the back end of WordPress. It is easy and you must only forgive ID or class, a selector, of the markup, that you will hide.
28
 
29
  = Support Custom Post Type =
30
+ The plugin support all functions also for custom post types, automatically in the settings page.
31
 
32
  = Compatibility with plugins for MetaBoxes in Write-area =
33
  You can add your own options, you must only see for css selectors
34
 
35
  = Requirements =
36
+ * WordPress version 4.0 and later; tested only in last stable version.
37
 
38
  = What does this plugin do? =
39
  The plugin changes the administration backend and gives you the power to assign rights on certain parts. Admins can activate/deactivate every part of the menu and even parts of the sub-menu. Meta fields can be administered separately for posts and pages. Certain parts of the write menu can be deactivated separately for admins or non-admins. The header of the backend is minimized and optimized to give you more space and the structure of the menu gets changed to make it more logical - this can all be done per user so each user can have his own settings.
40
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
41
  == Installation ==
42
  1. Unpack the download-package
43
  2. Upload folder include all files to the `/wp-content/plugins/` directory. The final directory tree should look like `/wp-content/plugins/adminimize/adminimize.php`, `/wp-content/plugins/adminimize/adminimize_page.php`, `/wp-content/plugins/adminimize/css/` and `/wp-content/plugins/adminimize/languages`
45
  4. Selecting Colour Scheme and Theme, selection in Your Profile, go to your User Profile (under `Users` > `Your Profile` or by clicking on your name at the top right corner of the administration panel).
46
  5. Administrator can go to `Options` > `Adminimize` menu and configure the plugin (Menu, Sub-menu, Meta boxes, ...)
47
 
48
+ * or use the automatic install via back end of WordPress
49
 
50
  = Advice =
51
  Please use the `Uninstall-Function` in the option-area before update to version 1.4! Version 1.4 and higher have only one database entry and the `Uninstall-Option` uninstall the old entry's.
54
  1. Settings area in WP 4.5-alpha
55
 
56
  == Changelog ==
57
+ = 1.9.1 (2016-25-01) =
58
+ * Bugfix for fixing ssl protocol in WP core on include styles and scripts.
59
+
60
  = 1.9.0 (2016-01-21) =
61
  * Change Ex-/Import functions to use JSON format and remove mysql topics, there no longer valid in WP core.
62
  * Add more checks to hide also dynamically menu items, like Customizer.