Skip to content

Commit 58dc4e3

Browse files
Docs: Correct variable reference in wpdb::delete() DocBlock.
Follow-up to [47740]. Props nareshbheda, manishxdp. Fixes #65470. git-svn-id: https://develop.svn.wordpress.org/trunk@62527 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 57eb872 commit 58dc4e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/wp-includes/class-wpdb.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2758,7 +2758,7 @@ public function update( $table, $data, $where, $format = null, $where_format = n
27582758
* @param string[]|string $where_format Optional. An array of formats to be mapped to each of the values in $where.
27592759
* If string, that format will be used for all of the items in $where.
27602760
* A format is one of '%d', '%f', '%s' (integer, float, string).
2761-
* If omitted, all values in $data will be treated as strings unless otherwise
2761+
* If omitted, all values in $where will be treated as strings unless otherwise
27622762
* specified in wpdb::$field_types. Default null.
27632763
* @return int|false The number of rows deleted, or false on error.
27642764
*/

0 commit comments

Comments
 (0)