diff --git a/wp-includes/php-compat/readonly.php b/wp-includes/php-compat/readonly.php index cc9230e8a2..1c7fd9deff 100644 --- a/wp-includes/php-compat/readonly.php +++ b/wp-includes/php-compat/readonly.php @@ -24,14 +24,14 @@ * * @see wp_readonly() * - * @param mixed $readonly One of the values to compare. - * @param mixed $current Optional. The other value to compare if not just true. - * Default true. - * @param bool $echo Optional. Whether to echo or just return the string. - * Default true. + * @param mixed $readonly_value One of the values to compare. + * @param mixed $current Optional. The other value to compare if not just true. + * Default true. + * @param bool $display Optional. Whether to echo or just return the string. + * Default true. * @return string HTML attribute or empty string. */ -function readonly( $readonly, $current = true, $echo = true ) { +function readonly( $readonly_value, $current = true, $display = true ) { _deprecated_function( __FUNCTION__, '5.9.0', 'wp_readonly()' ); - return wp_readonly( $readonly, $current, $echo ); + return wp_readonly( $readonly_value, $current, $display ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5790bd69f6..7adfce912d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54950'; +$wp_version = '6.2-alpha-54951'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.