mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-18 17:33:43 +03:00
Add stub for natural_language_join()
.
This commit is contained in:
parent
9e4d322b3d
commit
80b0148f38
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue