[Plugin: Mobile Domain] Patch
-
Seems like the ywpmd_request_siteurl() function is returning an extra slash for the mobile domain.
I had to change line 312 from this:
$go = str_replace(WPMD_DESKTOP, $get['domain'], WPMD_SITEURL);to this:
$go = str_replace(WPMD_DESKTOP, $get['domain'], $my_domain);in order to get it to work with jQuery Mobile. The extra slash was messing up the links and ajax wasn’t working.
Also, your plugin doesn’t properly handle when the wordpress directory is not in the same directory as the site URL, but I don’t have time to figure out what’s wrong there.
The topic ‘[Plugin: Mobile Domain] Patch’ is closed to new replies.