From b032fa914d7a6ea395c0e0a43c3bfb1d648c99a7 Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Tue, 8 Oct 2019 13:35:07 -0400 Subject: [PATCH] Fix email field --- plugins/wporg-5ftf/includes/pledge-meta.php | 2 +- plugins/wporg-5ftf/views/inputs-pledge-org-email.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/wporg-5ftf/includes/pledge-meta.php b/plugins/wporg-5ftf/includes/pledge-meta.php index d5f7a2e..daeb8c5 100755 --- a/plugins/wporg-5ftf/includes/pledge-meta.php +++ b/plugins/wporg-5ftf/includes/pledge-meta.php @@ -43,7 +43,7 @@ function get_pledge_meta_config( $context = '' ) { 'show_in_rest' => true, 'php_filter' => FILTER_VALIDATE_URL, ), - 'pledge-email' => array( + 'org-pledge-email' => array( 'single' => true, 'sanitize_callback' => 'sanitize_email', 'show_in_rest' => false, diff --git a/plugins/wporg-5ftf/views/inputs-pledge-org-email.php b/plugins/wporg-5ftf/views/inputs-pledge-org-email.php index c30343d..1c323c6 100644 --- a/plugins/wporg-5ftf/views/inputs-pledge-org-email.php +++ b/plugins/wporg-5ftf/views/inputs-pledge-org-email.php @@ -6,15 +6,15 @@ namespace WordPressDotOrg\FiveForTheFuture\View; ?>
-