WordPress.org

Make WordPress Core

Ticket #36703: #36703.patch

File #36703.patch, 721 bytes (added by Frank Klein, 4 years ago)
  • src/wp-includes/class-wp-widget.php

     
    1010/**
    1111 * Core base class extended to register widgets.
    1212 *
    13  * This class must be extended for each widget and WP_Widget::widget(), WP_Widget::update()
    14  * and WP_Widget::form() need to be overridden.
     13 * This class must be extended for each widget, and WP_Widget::widget() must be overriden. WP_Widget::update()
     14 * and WP_Widget::form() need to be overridden to add options to the widget.
    1515 *
    1616 * @since 2.8.0
    1717 * @since 4.4.0 Moved to its own file from wp-includes/widgets.php