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
This commit is contained in:
Peter Wilson 2019-10-13 02:42:01 +00:00
parent 41d6b80d03
commit 8730eb34e3
2 changed files with 2 additions and 2 deletions

View File

@ -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 ) );

View File

@ -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.