WP Native Dashboard - Version 1.3.4

Version Description

Download this release

Release Info

Developer codestyling
Plugin Icon wp plugin WP Native Dashboard
Version 1.3.4
Comparing to
See all releases

Code changes from version 1.3.3 to 1.3.4

Files changed (2) hide show
  1. readme.txt +6 -2
  2. wp-native-dashboard.php +7 -3
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
- === WP Native Dashboard ===
2
  Contributors: codestyling
3
  Tags: wordpress, dashboard, multi-lingual, languages, backend, localization, plugin
4
  Requires at least: 2.7
5
  Tested up to: 3.1.3
6
- Stable tag: 1.3.3
7
 
8
  Enables selection of administration language either by logon, dashboard quick switcher or user profile setting.
9
 
@@ -14,6 +14,7 @@ Several options can be enabled and also combinations out of:
14
 
15
  1. logon screen extension - user can specify his/her prefered language during logon
16
  1. dashboard quick switcher extension - user can easily switch language at every admin page
 
17
  1. user profile setting - each user can define at profile his/her prefered language
18
 
19
  The plugin also includes a repository scan on demand (svn.automattic.com) for available language file downloads.
@@ -46,6 +47,9 @@ Please visit [the official website](http://www.code-styling.de/english/developme
46
 
47
  == Changelog ==
48
 
 
 
 
49
  = Version 1.3.3 =
50
  * feature: language switcher can now be configured to occure in WP Admin Bar (WP >= 3.0)
51
 
1
+ === WP Native Dashboard ===
2
  Contributors: codestyling
3
  Tags: wordpress, dashboard, multi-lingual, languages, backend, localization, plugin
4
  Requires at least: 2.7
5
  Tested up to: 3.1.3
6
+ Stable tag: 1.3.4
7
 
8
  Enables selection of administration language either by logon, dashboard quick switcher or user profile setting.
9
 
14
 
15
  1. logon screen extension - user can specify his/her prefered language during logon
16
  1. dashboard quick switcher extension - user can easily switch language at every admin page
17
+ 1. admin bar switcher - user can switch at active admin bar the language as usual
18
  1. user profile setting - each user can define at profile his/her prefered language
19
 
20
  The plugin also includes a repository scan on demand (svn.automattic.com) for available language file downloads.
47
 
48
  == Changelog ==
49
 
50
+ = Version 1.3.4 =
51
+ * bugfix: screen_layout_column throws info messages at multisite or user dashboard pages
52
+
53
  = Version 1.3.3 =
54
  * feature: language switcher can now be configured to occure in WP Admin Bar (WP >= 3.0)
55
 
wp-native-dashboard.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.code-styling.de/english/development/wordpress-plugin-wp-
5
  Description: You can configure your blog working at administration with different languages depends on users choice and capabilities the admin has been enabled.
6
  Author: Heiko Rabe
7
  Author URI: http://www.code-styling.de/
8
- Version: 1.3.3
9
 
10
  License:
11
  ==============================================================================
@@ -251,8 +251,12 @@ class wp_native_dashboard {
251
 
252
  //for WordPress 2.8 we have to tell, that we could support 2 columns, but currently only set to 1
253
  function on_screen_layout_columns($columns, $screen) {
254
- if ($screen == $this->pagehook) {
255
- $columns[$this->pagehook] = 1;
 
 
 
 
256
  }
257
  return $columns;
258
  }
5
  Description: You can configure your blog working at administration with different languages depends on users choice and capabilities the admin has been enabled.
6
  Author: Heiko Rabe
7
  Author URI: http://www.code-styling.de/
8
+ Version: 1.3.4
9
 
10
  License:
11
  ==============================================================================
251
 
252
  //for WordPress 2.8 we have to tell, that we could support 2 columns, but currently only set to 1
253
  function on_screen_layout_columns($columns, $screen) {
254
+ //bugfix: $this->pagehook is not valid because it will be set at hook 'admin_menu' but
255
+ //multisite pages or user dashboard pages calling different menu an menu hooks!
256
+ if (!defined( 'WP_NETWORK_ADMIN' ) && !defined( 'WP_USER_ADMIN' )) {
257
+ if ($screen == $this->pagehook) {
258
+ $columns[$this->pagehook] = 1;
259
+ }
260
  }
261
  return $columns;
262
  }