mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-14 14:25:45 +03:00
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:
parent
aef07828a6
commit
4ce08c3f87
3 changed files with 4 additions and 10 deletions
|
@ -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"
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue