Pledge Form: Abstract the procedure for getting filtered post input

This commit is contained in:
Corey McKrill 2019-10-17 16:12:53 -07:00
parent 1405ff138a
commit c520d26527
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38
4 changed files with 124 additions and 31 deletions

View file

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