WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/09/2019 04:26:22 AM (5 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @since note about new parameters with the spread operator added to function signatures.

Props jrf.
See #47678.

File:
1 edited

Legend:

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

    r46232 r46451  
    12811281     * @link https://secure.php.net/sprintf Description of syntax.
    12821282     * @since 2.3.0
     1283     * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
     1284     *              by updating the function signature. The second parameter was changed
     1285     *              from `$args` to `...$args`.
    12831286     *
    12841287     * @param string      $query   Query statement with sprintf()-like placeholders
Note: See TracChangeset for help on using the changeset viewer.