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.

git-svn-id: https://develop.svn.wordpress.org/trunk@57567 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tonya Mork
2024-02-08 16:00:50 +00:00
parent f8b9b2abd7
commit 9e753cb908

View File

@@ -132,7 +132,7 @@ class WP_Font_Utils {
$slug_elements
);
return sanitize_text_field( join( ';', $slug_elements ) );
return sanitize_text_field( implode( ';', $slug_elements ) );
}
/**