error, not appearing flags with domain mapping
-
Hi,
Problem: flags not appearing.
Situation: domain mapping and multi-site.Error found: function qtranxf_plugin_dirname_from_wp_content()
Temporary solution:
$s = “plugins/qtranslate-x”;
return $s;Actual return was: “ns/qtranslate-x”, because
$d = plugin_dir_url( QTRANSLATE_FILE );
$c = content_url();
$s = trim(substr($d, strlen($c)), ‘/\\’);$d is one url, and $c is another diferent url(with diferent domain), the function with strlen is not applied with domain mapping.
Regards,
Jordi
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘error, not appearing flags with domain mapping’ is closed to new replies.