[wp-trac] [WordPress Trac] #42270: PHPDoc blocks of register_widget and unregister_widget are not up-to-date
WordPress Trac
noreply at wordpress.org
Thu Oct 19 13:50:58 UTC 2017
#42270: PHPDoc blocks of register_widget and unregister_widget are not up-to-date
--------------------------+-----------------------------
Reporter: behzod | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Widgets | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"41942"]:
{{{
#!CommitTicketReference repository="" revision="41942"
Docs: After [37329], update the documentation for `register_widget()` and
`unregister_widget()`.
Both functions can accept a `WP_Widget` instance object instead of a
`WP_Widget` subclass name, same as `WP_Widget_Factory::register()` and
`::unregister()`.
Props behzod.
Fixes #42270.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42270#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list