From e4fed9713ed218785de601b2ff2cd2a96154d0b5 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 31 Oct 2025 05:29:37 +0000 Subject: [PATCH] Coding Standards: Improve formatting of phpdoc for params in `wpdb` class. Props truptikanzariya, rollybueno. See #63168. Fixes #64160. Built from https://develop.svn.wordpress.org/trunk@61102 git-svn-id: http://core.svn.wordpress.org/trunk@60438 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wpdb.php | 12 ++++++------ wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-includes/class-wpdb.php b/wp-includes/class-wpdb.php index fefccb4bc8..57abe2ab4e 100644 --- a/wp-includes/class-wpdb.php +++ b/wp-includes/class-wpdb.php @@ -826,7 +826,7 @@ class wpdb { * * @since 3.5.0 * - * @param string $name The private member to unset + * @param string $name The private member to unset. */ public function __unset( $name ) { unset( $this->$name ); @@ -2659,12 +2659,12 @@ class wpdb { * @see wpdb::$field_types * @see wp_set_wpdb_vars() * - * @param string $table Table name. - * @param array $data Data to update (in column => value pairs). + * @param string $table Table name. + * @param array $data Data to update (in column => value pairs). * Both $data columns and $data values should be "raw" (neither should be SQL escaped). * Sending a null value will cause the column to be set to NULL - the corresponding * format is ignored in this case. - * @param array $where A named array of WHERE clauses (in column => value pairs). + * @param array $where A named array of WHERE clauses (in column => value pairs). * Multiple clauses will be joined with ANDs. * Both $where columns and $where values should be "raw". * Sending a null value will create an IS NULL comparison - the corresponding @@ -2910,7 +2910,7 @@ class wpdb { * * @since 4.2.0 * - * @param array $data { + * @param array $data { * Array of values and formats keyed by their field names, * as it comes from the wpdb::process_field_formats() method. * @@ -2961,7 +2961,7 @@ class wpdb { * * @since 4.2.1 * - * @param array $data { + * @param array $data { * Array of values, formats, and charsets keyed by their field names, * as it comes from the wpdb::process_field_charsets() method. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 450b565c56..1cdfecbbe5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.9-beta2-61101'; +$wp_version = '6.9-beta2-61102'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.