From 343af672aff036793755151909a337a449e17ff7 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sat, 4 Jun 2022 12:15:12 +0000 Subject: [PATCH] Docs: Replace "updated" with "deleted" in `wpdb::delete` @return description. Props audrasjb, cadlec. See #55646. Built from https://develop.svn.wordpress.org/trunk@53462 git-svn-id: http://core.svn.wordpress.org/trunk@53051 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/wp-db.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index e6f4f511a8..4f576ac4d3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53461'; +$wp_version = '6.1-alpha-53462'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index 8c6e3df894..4b0b975b32 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -2501,7 +2501,7 @@ class wpdb { * A format is one of '%d', '%f', '%s' (integer, float, string). * If omitted, all values in $data will be treated as strings unless otherwise * specified in wpdb::$field_types. - * @return int|false The number of rows updated, or false on error. + * @return int|false The number of rows deleted, or false on error. */ public function delete( $table, $where, $where_format = null ) { if ( ! is_array( $where ) ) {