Please fix i18n with this patch.
-
Hello,
I’ve ran into problems with WP 3.5 and your plugin on a Windows-based server – the plugin was not able to load localization files properly.It would be great if you replace
load_plugin_textdomain('sblogin', WP_PLUGIN_URL.'/sidebar-login/langs/', 'sidebar-login/langs/');
with
add_action( 'plugins_loaded', 'sblogin_load_textdomain' ); function sblogin_load_textdomain() { $plugin_dir = dirname( plugin_basename( __FILE__ ) ); load_plugin_textdomain( 'sblogin', false, $plugin_dir.'/langs' ); }
in next version.
- The topic ‘Please fix i18n with this patch.’ is closed to new replies.