Skip to content

Instantly share code, notes, and snippets.

@Kichrum
Kichrum / relevanssi.diff
Last active Dec 26, 2015
Relevanssi comma separate fix.
View relevanssi.diff
diff --git a/wp-content/plugins/relevanssi/lib/common.php b/wp-content/plugins/relevanssi/lib/common.php
index 5ac8d4b..a797aaa 100644
--- a/wp-content/plugins/relevanssi/lib/common.php
+++ b/wp-content/plugins/relevanssi/lib/common.php
@@ -396,7 +396,7 @@ function relevanssi_get_custom_fields() {
return $custom_fields;
}
else {
- $custom_fields = explode(",", $custom_fields);
+ $custom_fields = explode("\n", $custom_fields);
You can’t perform that action at this time.