Remove unnecessary meta config and prefixes

The meta config introduced in 2927532 are unnecessary because the
contributors associated with a pledge are not stored as post meta data,
but rather as posts of a separate post type. The added `org-` prefixes
are also unnecessary because there is already a `5ftf` prefix for all
the fields. The `org-` is used for some fields where the data is a
property of the organization making the pledge (org-name, org-email).
Contributors are not really a property of the organization.
This commit is contained in:
Corey McKrill 2019-10-21 15:31:06 -07:00
parent aef07828a6
commit 4ce08c3f87
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38
3 changed files with 4 additions and 10 deletions

View file

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