extra break tags being inserted
-
There is a slight issue with this plugin. When displaying the shortcode in a widget, WordPress inserts extra break tags after each of the hidden form fields, which results in a large blank gap in the widget. I’ve found where this can be prevented in your code. Maybe you could include the fix in your next version.
In the file wordpress-donation-plugin-with-goals-and-paypal-ipn-by-nonprofitcmsorg/mydonate.php search for “<input type=”hidden” name=”notify_url” value=”‘.$notify.'”>”. Where the $output string is being created, simply remove all the line breaks from that string. Then WordPress won’t try to take over and modify your output.
Just a suggestion. I’m not suggesting users edit their code, BTW. Just suggesting the developer fix this problem so that we can enjoy it in the next version.
Thanks!
- The topic ‘extra break tags being inserted’ is closed to new replies.