WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/09/2019 04:26:22 AM (6 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/widgets.php

    r46147 r46451  
    345345 *
    346346 * @since 2.2.0
     347 * @since 5.3.0 Formalized the existing and already documented `...$params` parameter
     348 *              by adding it to the function signature.
    347349 *
    348350 * @global array $wp_registered_widgets            Uses stored registered widgets.
     
    482484 *
    483485 * @since 2.2.0
     486 * @since 5.3.0 Formalized the existing and already documented `...$params` parameter
     487 *              by adding it to the function signature.
    484488 *
    485489 * @global array $wp_registered_widget_controls
     
    557561 *
    558562 * @since 2.8.0
     563 * @since 5.3.0 Formalized the existing and already documented `...$params` parameter
     564 *              by adding it to the function signature.
    559565 *
    560566 * @global array $wp_registered_widget_updates
     
    589595 *
    590596 * @since 2.8.0
     597 * @since 5.3.0 Formalized the existing and already documented `...$params` parameter
     598 *              by adding it to the function signature.
    591599 *
    592600 * @global array $wp_registered_widget_controls
Note: See TracChangeset for help on using the changeset viewer.