Make WordPress Core


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

    r46586 r47055  
    5252     * @see WP_REST_Controller::get_additional_fields()
    5353     * @link https://core.trac.wordpress.org/ticket/35574
     54     *
    5455     * @return array Schema for properties.
    5556     */
     
    109110     *
    110111     * @param array $instance Widget instance props.
    111      * @return void
    112112     */
    113113    public function render_media( $instance ) {
Note: See TracChangeset for help on using the changeset viewer.