Pledges: Rename input field to match handler expectation.

Previously the field wasn't being saved when a new pledge was created.
This commit is contained in:
Ian Dunn 2019-10-21 12:41:58 -07:00
parent fff279aa34
commit 2927532544
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
3 changed files with 11 additions and 5 deletions

View file

@ -15,8 +15,8 @@ namespace WordPressDotOrg\FiveForTheFuture\View;
<input
type="text"
id="5ftf-pledge-contributors"
name="pledge-contributors"
value="<?php echo esc_attr( $data['pledge-contributors'] ); ?>"
name="org-pledge-contributors"
value="<?php echo esc_attr( $data['org-pledge-contributors'] ); ?>"
required
aria-describedby="5ftf-pledge-contributors-help"
/>