/* WPML Fix */ if ( defined( 'ICL_SITEPRESS_VERSION' ) ){ global $sitepress; $url = $sitepress->convert_url( $url, $sitepress->get_default_language() ); }
This part is supposed to fix the WPML issue when different domains are used. However, it seems like it's now doing the opposite. removed this and now it works fine.
I'm using Wordpress 4.8.2, WPML 3.8.3, aq_resize 1.2.2.
/* WPML Fix */ if ( defined( 'ICL_SITEPRESS_VERSION' ) ){ global $sitepress; $url = $sitepress->convert_url( $url, $sitepress->get_default_language() ); }
This part is supposed to fix the WPML issue when different domains are used. However, it seems like it's now doing the opposite. removed this and now it works fine. I'm using Wordpress 4.8.2, WPML 3.8.3, aq_resize 1.2.2.