Make WordPress Core


Ignore:
Timestamp:
01/10/2020 12:28:10 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @return void from widget DocBlocks.

Per the documentation standards, it should not be used outside of the default bundled themes.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-media.php

    r46586 r47055  
    128128     * @see WP_REST_Controller::get_additional_fields()
    129129     * @link https://core.trac.wordpress.org/ticket/35574
     130     *
    130131     * @return array Schema for properties.
    131132     */
     
    321322     *
    322323     * @see \WP_Widget_Media::render_control_template_scripts() Where the JS template is located.
     324     *
    323325     * @param array $instance Current settings.
    324      * @return void
    325326     */
    326327    final public function form( $instance ) {
Note: See TracChangeset for help on using the changeset viewer.