wp-includes/general-template.php:5541Outputs the HTML readonly attribute.
$readonly_valuemixed$currentmixedoptionaltrue$displaybooloptionaltruestringfunction wp_readonly( $readonly_value, $current = true, $display = true ) { return __checked_selected_helper( $readonly_value, $current, $display, 'readonly' );}Introduced in 5.9.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/general-template.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.