[Plugin: WP Google Weather] WPML Integration
-
just a line of code to make WP Google Weather WPML compatible:
version 0.5 at line 132 change to:
$lang = (empty($instance['lang']) && defined('ICL_LANGUAGE_CODE')) ? ICL_LANGUAGE_CODE : $instance['lang'];
i.e. if no language has been set use WPML’s constant for the current language code if it exists.
- The topic ‘[Plugin: WP Google Weather] WPML Integration’ is closed to new replies.