Make WordPress Core


Ignore:
Timestamp:
10/09/2019 04:26:22 AM (5 years 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/tests/phpunit/includes/abstract-testcase.php

    r46221 r46451  
    900900     * @since 2.5.0
    901901     * @since 3.8.0 Moved from `Tests_Query_Conditionals` to `WP_UnitTestCase`.
     902     * @since 5.3.0 Formalized the existing `...$prop` parameter by adding it
     903     *              to the function signature.
    902904     *
    903905     * @param string ...$prop Any number of WP_Query properties that are expected to be true for the current request.
Note: See TracChangeset for help on using the changeset viewer.