From 8ccb90bef00deb272efa3afbbcc105eea0ae9e7d Mon Sep 17 00:00:00 2001 From: Paul Kevan <2290623+pkevan@users.noreply.github.com> Date: Wed, 3 Jul 2024 10:50:57 +0100 Subject: [PATCH] Update contributor.php ws --- plugins/wporg-5ftf/includes/contributor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/wporg-5ftf/includes/contributor.php b/plugins/wporg-5ftf/includes/contributor.php index 3178dfc..da74ec1 100644 --- a/plugins/wporg-5ftf/includes/contributor.php +++ b/plugins/wporg-5ftf/includes/contributor.php @@ -167,14 +167,14 @@ function add_pledge_contributors( $pledge_id, $contributors ) { foreach ( $contributors as $wporg_username ) { $wporg_user = get_user_by( 'slug', $wporg_username ); - + $args = array( 'post_type' => CPT_ID, 'post_title' => sanitize_user( $wporg_username ), 'post_parent' => $pledge_id, 'post_status' => 'pending', 'meta_input' => array( - 'wporg_user_id' => $wporg_user->ID, + 'wporg_user_id' => $wporg_user->ID, ), );