diff --git a/wp-includes/rest-api.php b/wp-includes/rest-api.php index 47b922bcd8..ae1e714ea8 100644 --- a/wp-includes/rest-api.php +++ b/wp-includes/rest-api.php @@ -108,8 +108,9 @@ function register_rest_route( $namespace, $route, $args = array(), $override = f _doing_it_wrong( __FUNCTION__, sprintf( - /* translators: %s: The REST API route being registered. */ - __( 'REST API $args should be an array of arrays. Non-array value detected for %s.' ), + /* translators: 1: $args, 2: The REST API route being registered. */ + __( 'REST API %1$s should be an array of arrays. Non-array value detected for %2$s.' ), + '$args', '' . $clean_namespace . '/' . trim( $route, '/' ) . '' ), '6.1.0' diff --git a/wp-includes/version.php b/wp-includes/version.php index 95a180fe8d..93a8a58305 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-beta2-54345'; +$wp_version = '6.1-beta2-54346'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.