mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Replace "updated" with "deleted" in wpdb::delete @return description.
Props audrasjb, cadlec. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53462 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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 ) ) {
|
||||
|
||||
Reference in New Issue
Block a user