2016-09-14, 10:46:34
If your site is set up for multiple levels of parents, such as domain.com/parent1/parent2/slug, which is accomplished by installing the I18N plugin and setting your site's custom permalink structure to begin with %parents% (with an S) instead of %parent%, then this Contact plugin incorrectly breaks. It outputs the form action attribute as literally "%parents%/contact".
This can be fixed by changing line 256 in cbcontact_form.php
from:
$idpret = find_url($fich,'');
to:
$idpret = (function_exists('find_i18n_url') ? find_i18n_url($fich,'') : find_url($fich,''));
Cumbe, maybe you could put this fix in the next update?
This can be fixed by changing line 256 in cbcontact_form.php
from:
$idpret = find_url($fich,'');
to:
$idpret = (function_exists('find_i18n_url') ? find_i18n_url($fich,'') : find_url($fich,''));
Cumbe, maybe you could put this fix in the next update?