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

    r45742 r47055  
    345345     *
    346346     * @see WP_Widget_Media_Video::inject_video_max_width_style()
     347     *
    347348     * @param array $matches Pattern matches from preg_replace_callback.
    348349     * @return string HTML Output.
     
    442443     * @since 4.8.0 Form only contains hidden inputs which are synced with JS template.
    443444     * @since 4.8.1 Restored original form to be displayed when in legacy mode.
     445     *
    444446     * @see WP_Widget_Text::render_control_template_scripts()
    445447     * @see _WP_Editors::editor()
    446448     *
    447449     * @param array $instance Current settings.
    448      * @return void
    449450     */
    450451    public function form( $instance ) {
Note: See TracChangeset for help on using the changeset viewer.