meow-lightbox not working correctly with polylang
-
I found polylang support in your plugin in meow-lightbox/mwl_core.php line 22, but it’s not working like expected. I got a 404 on /de/start//wp-json/mwl/v1/info/ids/.
I changed this line to $home_url = get_site_url(); and then it worked. What’s the idea of this wp-json call? I didn’t read completely into it?
Why not just using the site_url for the api call? It should not differ when polylang is enabled or disabled.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘meow-lightbox not working correctly with polylang’ is closed to new replies.