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-audio.php

    r46586 r47055  
    6161     * @see WP_REST_Controller::get_additional_fields()
    6262     * @link https://core.trac.wordpress.org/ticket/35574
     63     *
    6364     * @return array Schema for properties.
    6465     */
     
    9798     *
    9899     * @param array $instance Widget instance props.
    99      * @return void
    100100     */
    101101    public function render_media( $instance ) {
Note: See TracChangeset for help on using the changeset viewer.