Coding Standards: Use sprintf() for correct i18n in wp_unique_id_from_values().
Follow-up to [60075], [60079]. Fixes #62985. Built from https://develop.svn.wordpress.org/trunk@60085 git-svn-id: http://core.svn.wordpress.org/trunk@59421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -9193,8 +9193,11 @@ function wp_unique_id_from_values( array $data, string $prefix = '' ): string {
|
||||
if ( empty( $data ) ) {
|
||||
_doing_it_wrong(
|
||||
__FUNCTION__,
|
||||
// translators: '$data' is the parameter name and must not be translated.
|
||||
__( 'The $data argument must not be empty.' ),
|
||||
sprintf(
|
||||
/* translators: %s: parameter name. */
|
||||
__( 'The %s argument must not be empty.' ),
|
||||
'$data'
|
||||
),
|
||||
'6.8.0'
|
||||
);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.8-beta3-60084';
|
||||
$wp_version = '6.8-beta3-60085';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user