wp-includes/script-loader.php:3079Prints an inline script tag.
$datastring$attributesoptionalarray()function wp_print_inline_script_tag( $data, $attributes = array() ) { echo wp_get_inline_script_tag( $data, $attributes );}Introduced in 5.7.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$attributes retyped from array to untyped.verified against sourcesrc/wp-includes/script-loader.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.