Alright guys, so i have a little thing i found and i think it’s an issue with some wpml settings (this is probably why @elliot can’t replicate), but i’m still trying to figure which one.
So, on gallery.php, on format_value method, $value variable contains correct IDs:
Array (  => 245  => 243  => 241  => 239  => 237  => 235 )
// find attachments (DISTINCT POSTS) $attachments = get_posts(array( 'post__in' => $value, .... ));
Is returning completelly different ids, disregarding post__in option: 235, 237 and so on. Then, when trying to apply the custom ordering, each key is not found (obviously!). This is always happening, no matter how suppress_filters is set.
Still digin, maybe i find something more. Just wanted to add an update here, maybe someone have a better idea 🙂
( also i decided to close this, since is a duplicate: http://support.advancedcustomfields.com/forums/topic/acf-gallery-vs-wpml/ )
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!