Bug in v 1.2.3
-
On line 75 of pricing-table.php there is this code:
$data = str_replace(array("\n","\r","[y]","[n]"),array("","","<img src='".plugins_url('/pricing-table/images/tick.png')."' />","<img src='".plugins_url('/pricing-table/images/cross.png')."' />"),$data);
To make the plugin work change it like this:
$data = str_replace(array("\n","\r","[y]","[n]"),array("\n","\r","<img src='".plugins_url('/pricing-table/images/tick.png')."' />","<img src='".plugins_url('/pricing-table/images/cross.png')."' />"),$data);
OR:
$data = str_replace(array("[y]","[n]"),array("<img src='".plugins_url('/pricing-table/images/tick.png')."' />","<img src='".plugins_url('/pricing-table/images/cross.png')."' />"),$data);
I hope that this discovery will help someone someday ??
- The topic ‘Bug in v 1.2.3’ is closed to new replies.