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:
Drew Jaynes 2016-03-23 04:18:26 +00:00
parent 7ce686fef1
commit 4d077b3a90

View File

@ -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' );