Make WordPress Core


Ignore:
Timestamp:
01/10/2020 12:28:10 AM (7 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-video.php

    r46586 r47055  
    6262         * @see WP_REST_Controller::get_additional_fields()
    6363         * @link https://core.trac.wordpress.org/ticket/35574
     64         *
    6465         * @return array Schema for properties.
    6566         */
    … …  
    108109         *
    109110         * @param array $instance Widget instance props.
    110          *
    111          * @return void
    112111         */
    113112        public function render_media( $instance ) {
Note: See TracChangeset for help on using the changeset viewer.