From 2044c2c6007d63cae5020da11493a26881fbf778 Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Thu, 28 Jul 2022 09:23:23 -0700 Subject: [PATCH] Add stub for `natural_language_join()`. --- .env/0-sandbox.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.env/0-sandbox.php b/.env/0-sandbox.php index d36c4d2..e7ccbdb 100644 --- a/.env/0-sandbox.php +++ b/.env/0-sandbox.php @@ -13,3 +13,12 @@ namespace { function bump_stats_extra( $name, $value, $views = 1 ) { } } + +namespace WordPressdotorg\MU_Plugins\Helpers { + /** + * Stub. + */ + function natural_language_join( array $list, $conjunction = 'and' ): string { + return implode( ', ', $list ); + } +}