Make WordPress Core

Changeset 61102


Ignore:
Timestamp:
10/31/2025 05:27:26 AM (6 weeks ago)
Author:
westonruter
Message:

Coding Standards: Improve formatting of phpdoc for params in wpdb class.

Props truptikanzariya, rollybueno.
See #63168.
Fixes #64160.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wpdb.php

    r60622 r61102  
    827827     * @since 3.5.0
    828828     *
    829      * @param string $name  The private member to unset
     829     * @param string $name The private member to unset.
    830830     */
    831831    public function __unset( $name ) {
     
    26602660     * @see wp_set_wpdb_vars()
    26612661     *
    2662      * @param string       $table           Table name.
    2663      * @param array        $data            Data to update (in column => value pairs).
     2662     * @param string          $table        Table name.
     2663     * @param array           $data         Data to update (in column => value pairs).
    26642664     *                                      Both $data columns and $data values should be "raw" (neither should be SQL escaped).
    26652665     *                                      Sending a null value will cause the column to be set to NULL - the corresponding
    26662666     *                                      format is ignored in this case.
    2667      * @param array        $where           A named array of WHERE clauses (in column => value pairs).
     2667     * @param array           $where        A named array of WHERE clauses (in column => value pairs).
    26682668     *                                      Multiple clauses will be joined with ANDs.
    26692669     *                                      Both $where columns and $where values should be "raw".
     
    29112911     * @since 4.2.0
    29122912     *
    2913      * @param array $data {
     2913     * @param array  $data {
    29142914     *     Array of values and formats keyed by their field names,
    29152915     *     as it comes from the wpdb::process_field_formats() method.
     
    29622962     * @since 4.2.1
    29632963     *
    2964      * @param array $data {
     2964     * @param array  $data {
    29652965     *     Array of values, formats, and charsets keyed by their field names,
    29662966     *     as it comes from the wpdb::process_field_charsets() method.
Note: See TracChangeset for help on using the changeset viewer.