Docs: Add missing information to constructors DocBlocks for WP_Widget_Factory
.
See #36299. git-svn-id: https://develop.svn.wordpress.org/trunk@37062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
7ce686fef1
commit
4d077b3a90
@ -26,6 +26,9 @@ class WP_Widget_Factory {
|
||||
|
||||
/**
|
||||
* PHP5 constructor.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*/
|
||||
public function __construct() {
|
||||
add_action( 'widgets_init', array( $this, '_register_widgets' ), 100 );
|
||||
@ -33,6 +36,9 @@ class WP_Widget_Factory {
|
||||
|
||||
/**
|
||||
* PHP4 constructor.
|
||||
*
|
||||
* @since 2.8.0
|
||||
* @access public
|
||||
*/
|
||||
public function WP_Widget_Factory() {
|
||||
_deprecated_constructor( 'WP_Widget_Factory', '4.2.0' );
|
||||
|
Loading…
Reference in New Issue
Block a user