Coding Standards: Replace alias join() in WP_Font_Utils.
Replaces the alias `join()` with its canonical `implode()`. Using the canonical function name for PHP functions is strongly recommended, as aliases may be deprecated or removed without (much) warning. Follow-up to [57539], [49193]. Props davidbinda. Fixes #60473. Built from https://develop.svn.wordpress.org/trunk@57567 git-svn-id: http://core.svn.wordpress.org/trunk@57068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
17f02c1c02
commit
f098e2525f
|
@ -132,7 +132,7 @@ class WP_Font_Utils {
|
||||||
$slug_elements
|
$slug_elements
|
||||||
);
|
);
|
||||||
|
|
||||||
return sanitize_text_field( join( ';', $slug_elements ) );
|
return sanitize_text_field( implode( ';', $slug_elements ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.5-alpha-57566';
|
$wp_version = '6.5-alpha-57567';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue