From 94f2ce45598793690b7e220c9f5b9394b6750de0 Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Fri, 25 Oct 2019 16:04:52 -0700 Subject: [PATCH] Pledge Meta: Add missing param to doc block for `get_pledge_meta_config` --- plugins/wporg-5ftf/includes/pledge-meta.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/wporg-5ftf/includes/pledge-meta.php b/plugins/wporg-5ftf/includes/pledge-meta.php index a9c38cf..c452c72 100755 --- a/plugins/wporg-5ftf/includes/pledge-meta.php +++ b/plugins/wporg-5ftf/includes/pledge-meta.php @@ -28,9 +28,11 @@ add_action( 'added_post_meta', __NAMESPACE__ . '\update_generated_meta', 10, 4 /** * Define pledge meta fields and their properties. * + * @param string $context Optional. The part of the config to return. 'user_input', 'generated', or 'all'. + * * @return array */ -function get_pledge_meta_config( $context = '' ) { +function get_pledge_meta_config( $context = 'all' ) { $user_input = array( 'org-description' => array( 'single' => true,