Fix for implode issue with wordpress data