Plugin Author
Franky
(@liedekef)
EME already uses “, ” as the separator for #_LOCATIONCATEGORIES. It didn’t use the EME option “Categories separator”, but that will be fixed in the next version and is unrelated to your issue. See this changelog:
https://plugins.trac.ww.wp.xz.cn/changeset/2488519/
Thread Starter
mlplus
(@mlplus)
Thread Starter
mlplus
(@mlplus)
I found the problem. It’s only when using selection like
#_LOCATIONCATEGORIES{6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21}{}
if I use without selection it adds the space
#_LOCATIONCATEGORIES
Plugin Author
Franky
(@liedekef)
That version of #_LOCATIONCATEGORIES{xxx} already uses the option “Categories separator”, so maybe check that option?
Thread Starter
mlplus
(@mlplus)
Yes the option exists, but if you try to put a space after the comma and save. The change is not saved. And default comma + space work without selecting categories, but not if you make a selection. There must be a difference removing the spaces or not puting them.
Plugin Author
Franky
(@liedekef)
The default (without selection) wrongfully doesn’t use the option (the changeset corrects that). But I’ll check the option save with a trailing space.
Plugin Author
Franky
(@liedekef)
Well, it seems wordpress trims all trailing whitespaces when updating option values, with no way around it … I need to figure out something to work around this.
Plugin Author
Franky
(@liedekef)
This changeset will remove the options and fix it to “, ” with 2 filters to optionally change these.
https://plugins.trac.ww.wp.xz.cn/changeset/2488584/
Thread Starter
mlplus
(@mlplus)
Thanks Franky! Will make this changes in the morning.
Always helpful support, have a great weekend!
Plugin Author
Franky
(@liedekef)