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/theme.php

    r46395 r46451  
    23582358 *              `editor-styles`, and `wp-block-styles` features were added.
    23592359 * @since 5.3.0 The `html5` feature now also accepts 'script' and 'style'.
     2360 * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
     2361 *              by adding it to the function signature.
    23602362 *
    23612363 * @global array $_wp_theme_features
     
    26722674 *
    26732675 * @since 3.1.0
     2676 * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
     2677 *              by adding it to the function signature.
    26742678 *
    26752679 * @global array $_wp_theme_features
     
    27922796 *
    27932797 * @since 2.9.0
     2798 * @since 5.3.0 Formalized the existing and already documented `...$args` parameter
     2799 *              by adding it to the function signature.
    27942800 *
    27952801 * @global array $_wp_theme_features
Note: See TracChangeset for help on using the changeset viewer.