syamilmj / Aqua-Resizer

Resize WordPress images on the fly
501 stars 204 forks source link

WPML Fix returns false. #104

Open benoyd opened 7 years ago

benoyd commented 7 years ago

/* 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.

steve231293 commented 5 years ago

I've got the same problem. If your site has url like this: domain.com/en then Aqua resizer will return false.

Striffly commented 4 years ago

Fixed with #116