Country dropdown list when editing a waste picker organization in dashboard has items repeated 4 times
Created by: numeroteca
This is the query_post
$posts = query_posts( array( //TODO the dropdown list in dashboard when selecting a country: items are quadruplicated (the four languages)
'posts_per_page' => -1,
'post_type' => 'country',
'orderby' => 'title',
'order' => 'ASC',
));
Code at: https://github.com/numeroteca/globalrec/blob/master/functions.php#L1371
I think is 4 times repeated as there are 4 languages inthe page and country names are translated.