diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php index f97a2e898a..511cb34efa 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php @@ -2249,9 +2249,9 @@ class WP_REST_Posts_Controller extends WP_REST_Controller { _doing_it_wrong( 'register_taxonomy', sprintf( - /* translators: 1. The taxonomy name, 2. The property name, either rest_base or name. */ + /* translators: 1. The taxonomy name, 2. The property name, either 'rest_base' or 'name'. */ __( 'The "%1$s" taxonomy "%2$s" conflicts with an existing property on the REST API Posts Controller. Specify a custom "rest_base" when registering the taxonomy to avoid this error.' ), - $base, + $taxonomy->name, $taxonomy_field_name_with_conflict ), '5.4.0' diff --git a/wp-includes/version.php b/wp-includes/version.php index e3acd373fc..fb27798c32 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47044'; +$wp_version = '5.4-alpha-47045'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.