We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a29e0 commit 3f98766Copy full SHA for 3f98766
src/wp-includes/script-loader.php
@@ -3445,7 +3445,7 @@ function wp_enqueue_command_palette_assets() {
3445
* @param string $label HTML string to extract text from.
3446
* @return string Extracted text content, trimmed.
3447
*/
3448
- $extract_root_text = static function ( $label ) {
+ $extract_root_text = static function ( string $label ): string {
3449
if ( '' === $label ) {
3450
return '';
3451
}
0 commit comments