Make WordPress Core


Ignore:
Timestamp:
07/02/2021 06:52:23 PM (3 years ago)
Author:
desrosj
Message:

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

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

Props SergeyBiryukov.
Merges [51280] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php

    r51310 r51311  
    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.