five-for-the-future/plugins/wporg-5ftf
Caleb Burks c47679a5cc
My Pledges: Return early if contributor_post_id is missing.
`process_my_pledges_form()` is actually called on page load in `render_my_pledges()`.

So to prevent the unnecessary get_post() queries, let’s just return early if the form wasn’t really submitted.

See #87
2019-11-06 08:58:07 -08:00
..
assets/css Pledge List: Remove unused prototype. 2019-11-03 15:14:03 -06:00
includes My Pledges: Return early if contributor_post_id is missing. 2019-11-06 08:58:07 -08:00
tests Email: Send pledge confirmation with authentication token. (#46) 2019-10-25 12:07:09 -07:00
views Pledge Form: Improve placeholders for clarity. 2019-11-02 08:14:22 -05:00
.gitignore Tests: Setup PHPUnit and PHPUnit Watcher. 2019-10-23 14:27:26 -07:00
composer.json Composer: Document why PHPUnit 7 is used instead of 8. 2019-10-24 16:22:55 -07:00
composer.lock Composer: Warn about bug in test watcher interactive mode. 2019-10-24 08:12:48 -07:00
index.php Remove links to non-existent locale variants. 2019-11-04 13:04:17 -06:00
phpunit-watcher.yml.dist Tests: Setup PHPUnit and PHPUnit Watcher. 2019-10-23 14:27:26 -07:00
phpunit.xml.dist Tests: Setup PHPUnit and PHPUnit Watcher. 2019-10-23 14:27:26 -07:00