pduobert / wordpress-job-manager

Automatically exported from code.google.com/p/wordpress-job-manager
0 stars 1 forks source link

Rewrite rules for WPML in frontend.php #561

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Gary,

Thanks for this plugin.

I found a problem with the Rewrite rules for WPML in frontend.php line 89 and 
fix it.

Below you can find the small changes in the last rule so you can include them 
in the next version.

Original:
"($lang)?$url/([^/]+)/?(page/(\d+)/?)?$" => 'index.php?jobman_data=$matches[1]' 
. '&lang=$matches[2]' . '&page=$matches[4]',

Fix:
"($lang)?$url/([^/]+)/?(page/(\d+)/?)?$" => 'index.php?jobman_data=$matches[3]' 
. '&lang=$matches[1]' . '&page=$matches[4]',

What version of Job Manager are you using?
0.7.20

What version of WordPress are you using?
3.5.2

What version of WPML are you using?
2.9.1

Best regards,
Alejandro Vasquez
www.softwaresforce.com

Original issue reported on code.google.com by alejandr...@softwaresforce.com on 2 Aug 2013 at 12:02