[Plugin: Polylang] language management for users (in admin panel)
-
latest WP, latest Polylang. in 0.4 new feature – “Each user can set the WordPress admin language in its profile”.
Whent i try to login to dashboard i get error –
Fatal error: Call to undefined function wp_get_current_user() in /usr/home/altima/domains/u2.com.ua/public_html/capital/wp-includes/user.php on line 227I don’t know how to fix it, so in admin.php file i comment 49,50 & 51 lines:
// language management for users //add_filter('locale', array(&$this, 'get_locale')); //add_action('personal_options_update', array(&$this, 'personal_options_update')); //add_action('personal_options', array(&$this, 'personal_options'));
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: Polylang] language management for users (in admin panel)’ is closed to new replies.