From f098e2525f905940e7fa90909aded911268c9225 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Thu, 8 Feb 2024 16:02:14 +0000 Subject: [PATCH] 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 --- wp-includes/fonts/class-wp-font-utils.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/fonts/class-wp-font-utils.php b/wp-includes/fonts/class-wp-font-utils.php index 5bca536d2d..22baff3a5a 100644 --- a/wp-includes/fonts/class-wp-font-utils.php +++ b/wp-includes/fonts/class-wp-font-utils.php @@ -132,7 +132,7 @@ class WP_Font_Utils { $slug_elements ); - return sanitize_text_field( join( ';', $slug_elements ) ); + return sanitize_text_field( implode( ';', $slug_elements ) ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 39fc89cec8..e80aa7e50e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.