Bug with wpml
-
hello
Site with wpml plugin & dokan-wpml
On vendor dashboard when add new product then choose category
“All categories will appearing not based on the current language”I reported wpml support:
The answer:
suggesting to report this directly to the Dokan team so they can implement it.Because
`can see they are not covered, to filter categories based on the current language only.The code which is responsible for this is coming from :
dokan-lite/includes/ProductCategory/Categories.php around line 34
There, they are returning the categories but from all languages ( with a query from line 49 ). They should return the categories from the current language ( if the translation exists ) or the default.Thanks
- The topic ‘Bug with wpml’ is closed to new replies.