mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 18:43:43 +03:00
Add stub for natural_language_join()
.
This commit is contained in:
parent
9e4d322b3d
commit
2044c2c600
|
@ -13,3 +13,12 @@ namespace {
|
||||||
function bump_stats_extra( $name, $value, $views = 1 ) {
|
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