Bug with “g:”
-
Hello.
While using your plugin, I noticed an error that I could not quickly resolve. When generating a csv file feed, all “g:” inclusions are cut out in the text. The code in class-get-products.php is responsible for this.if(($feed_config['fileformat'] == "csv") OR ($feed_config['fileformat'] == "txt")){ $v = str_replace("g:", "", $v); }
I managed to fix it like this:
if(($feed_config['fileformat'] == "csv") OR ($feed_config['fileformat'] == "txt")){ $v = str_replace("g: ", "^^^", $v); $v = str_replace("g:", "", $v); $v = str_replace("^^^", "g: ", $v); }
But this is wrong, as it creates unnecessary load.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug with “g:”’ is closed to new replies.