Skip to content

Commit 5d53082

Browse files
committed
Remove unused sprintf within wp_unique_id_from_values().
1 parent 7dff371 commit 5d53082

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/wp-includes/functions.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9193,10 +9193,7 @@ function wp_unique_id_from_values( array $data, string $prefix = '' ): string {
91939193
if ( empty( $data ) ) {
91949194
_doing_it_wrong(
91959195
__FUNCTION__,
9196-
sprintf(
9197-
__( 'The $data argument must not be empty.' ),
9198-
gettype( $data )
9199-
),
9196+
__( 'The $data argument must not be empty.' ),
92009197
'6.8.0'
92019198
);
92029199
}

0 commit comments

Comments
 (0)