Add stub for natural_language_join().

This commit is contained in:
Ian Dunn 2022-07-28 09:23:23 -07:00
parent 9e4d322b3d
commit 2044c2c600
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB

View file

@ -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 );
}
}