Bugs in need of fixing...

Just bought this plugin the other day. I've taken the liberty of documenting the issues I've encountered as well as my fixes or suggested fixes.

Problem: JQuery UI datepicker on project editing page in admin breaks on HTTPS in Chrome

Solution: Edit enqueue_scripts in fundraiser.php to add conditional check for HTTPS before registering jQuery UI stylesheet, as follows.

if($_SERVER["HTTPS"] != "on")
{

wp_register_style( 'jquery-ui-base', 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/jquery-ui.css', null, null, 'screen' );

}
else
{

wp_register_style( 'jquery-ui-base', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/jquery-ui.css', null, null, 'screen' );

}

Problem: Conditional check for plural/singular form of "backer" is incorrect for 0 backers, singular is only ever used with "1"

Solution: Change " > 1" to " !== 1" in /lib/template-functions.php, this results in grammatically correct "0 backers"

Problem: Incorrect math on donation totals (fractional dollar values are discarded because of integer casting)

Solution: Edit get_amount_raised in fundraiser.php so that it does not use intval(). In point of fact, all currency calculations should ideally be done with integer cents and not dollar floats anyway due to potential localization issues.

Problem: Custom donation amount box in sidebar panel widget is not validated prior to submission, results in half-baked error page when submitted empty

Solution: Validate donation amount prior to submitting. Add onclick handler that checks for amount > 0. If yes, submit, otherwise do not submit.

More to come as I encounter them.