Make WordPress Core


Ignore:
Timestamp:
11/02/2019 08:04:27 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @deprecated tags to PHP 4 constructors in WP_Widget and WP_Widget_Factory().

Correct version number in _deprecated_constructor() call in WP_Widget_Factory(), see [32990].

Props jrf.
See #48252.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-widget.php

    r45590 r46627  
    178178     *
    179179     * @since 2.8.0
    180      *
    181      * @see __construct()
     180     * @deprecated 4.3.0 Use __construct() instead.
     181     *
     182     * @see WP_Widget::__construct()
    182183     *
    183184     * @param string $id_base         Optional Base ID for the widget, lowercase and unique. If left empty,
Note: See TracChangeset for help on using the changeset viewer.