Make WordPress Core


Ignore:
Timestamp:
06/30/2021 01:57:10 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @since tags for some REST API methods added in 5.8.

Follow-up to [50995], [51021].

See #52628, #53461.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php

    r51279 r51280  
    414414         *             given form data.
    415415         *
     416         * @since 5.8.0
     417         *
    416418         * @global WP_Widget_Factory $wp_widget_factory
    417419         *
     
    508510         * instance. Used by encode_form_data() to preview a widget.
    509511
     512         * @since 5.8.0
     513         *
    510514         * @param string    $widget   The widget's PHP class name (see class-wp-widget.php).
    511515         * @param array     $instance Widget instance settings.
     
    521525         * Returns the output of WP_Widget::form() when called with the provided
    522526         * instance. Used by encode_form_data() to preview a widget's form.
     527         *
     528         * @since 5.8.0
    523529         *
    524530         * @param WP_Widget $widget_object Widget object to call widget() on.
Note: See TracChangeset for help on using the changeset viewer.