forked from lino/radar-wp
Fix for wpml langages filter format.
This commit is contained in:
parent
2342ebb052
commit
ff9f429ba3
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ class Squat_Radar_Widget extends WP_Widget {
|
|||
$connector = new Squat_Radar_Connector();
|
||||
|
||||
$languages = apply_filters( 'wpml_active_languages', NULL);
|
||||
$languages = array_keys($languages);
|
||||
$languages = array_merge($instance['url']['keys']['language'], (array) $languages);
|
||||
foreach ($languages as $language) {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue