From d8aea7de83d6a33fc773038018035f7efa9cc248 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 16 Dec 2015 17:47:07 +0000 Subject: [PATCH] Docs: Add missing DocBlocks, including summaries and `@since` versions, to the `__construct()` and `init()` methods in `WP_Scripts`. See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@35965 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class.wp-scripts.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/wp-includes/class.wp-scripts.php b/src/wp-includes/class.wp-scripts.php index 52c6824b5a..298eda7b5b 100644 --- a/src/wp-includes/class.wp-scripts.php +++ b/src/wp-includes/class.wp-scripts.php @@ -30,12 +30,21 @@ class WP_Scripts extends WP_Dependencies { public $ext_version = ''; public $default_dirs; + /** + * Constructor. + * + * @since 2.6.0 + * @access public + */ public function __construct() { $this->init(); add_action( 'init', array( $this, 'init' ), 0 ); } /** + * Initialize the class. + * + * @since 3.4.0 * @access public */ public function init() {