From 4d077b3a90f8327e11e8dbd567c778a1ca679d1d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 23 Mar 2016 04:18:26 +0000 Subject: [PATCH] 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 --- src/wp-includes/class-wp-widget-factory.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/wp-includes/class-wp-widget-factory.php b/src/wp-includes/class-wp-widget-factory.php index cf19be40ed..151e51bf66 100644 --- a/src/wp-includes/class-wp-widget-factory.php +++ b/src/wp-includes/class-wp-widget-factory.php @@ -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' );