From 8730eb34e3f8d8e10b42f049384f410a03821609 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Sun, 13 Oct 2019 02:42:01 +0000 Subject: [PATCH] Docs: Correct comment typo in WP_REST_Terms_Controller::update_item(). Props manikmist09. Fixes #48295. See #47110. Built from https://develop.svn.wordpress.org/trunk@46469 git-svn-id: http://core.svn.wordpress.org/trunk@46267 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../rest-api/endpoints/class-wp-rest-terms-controller.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php index 6783ea9808..5b0f84578b 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php @@ -541,7 +541,7 @@ class WP_REST_Terms_Controller extends WP_REST_Controller { $prepared_term = $this->prepare_item_for_database( $request ); - // Only update the term if we haz something to update. + // Only update the term if we have something to update. if ( ! empty( $prepared_term ) ) { $update = wp_update_term( $term->term_id, $term->taxonomy, wp_slash( (array) $prepared_term ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index a7bb745117..280c00d3a9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta3-46468'; +$wp_version = '5.3-beta3-46469'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.