diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d2c02abedd..ab49f8f405 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -8318,19 +8318,19 @@ function wp_get_default_update_php_url() { * * @since 5.1.0 * @since 5.2.0 Added the `$before` and `$after` parameters. - * @since 6.4.0 Added the `$echo` parameter. + * @since 6.4.0 Added the `$display` parameter. * - * @param string $before Markup to output before the annotation. Default `

`. - * @param string $after Markup to output after the annotation. Default `

`. - * @param bool $echo Markup should echo if true. Default `true`. + * @param string $before Markup to output before the annotation. Default `

`. + * @param string $after Markup to output after the annotation. Default `

`. + * @param bool $display Whether to echo or return the markup. Default `true` for echo. * * @return string|void */ -function wp_update_php_annotation( $before = '

', $after = '

', $echo = true ) { +function wp_update_php_annotation( $before = '

', $after = '

', $display = true ) { $annotation = wp_get_update_php_annotation(); if ( $annotation ) { - if ( $echo ) { + if ( $display ) { echo $before . $annotation . $after; } else { return $before . $annotation . $after; diff --git a/wp-includes/version.php b/wp-includes/version.php index 09e50e4972..064477ed7f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56661'; +$wp_version = '6.4-alpha-56662'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.