From c4b9f70f173949d80d085b0a440a944245d2766d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 20 Sep 2013 17:45:30 +0000 Subject: [PATCH] Inline documentation for _WP_Dependency class properties. See #23914. git-svn-id: https://develop.svn.wordpress.org/trunk@25518 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class.wp-dependencies.php | 56 +++++++++++++++++++++-- 1 file changed, 52 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/class.wp-dependencies.php b/src/wp-includes/class.wp-dependencies.php index 7aaac074b7..69a9d674bc 100644 --- a/src/wp-includes/class.wp-dependencies.php +++ b/src/wp-includes/class.wp-dependencies.php @@ -295,12 +295,60 @@ class WP_Dependencies { } class _WP_Dependency { + /** + * The handle name. + * + * @access public + * @since 2.6.0 + * @var null + */ var $handle; - var $src; - var $deps = array(); - var $ver = false; - var $args = null; + /** + * The handle source. + * + * @access public + * @since 2.6.0 + * @var null + */ + var $src; + + /** + * An array of handle dependencies. + * + * @access public + * @since 2.6.0 + * @var array + */ + var $deps = array(); + + /** + * The handle version. + * + * Used for cache-busting. + * + * @access public + * @since 2.6.0 + * @var bool|string + */ + var $ver = false; + + /** + * Additional arguments for the handle. + * + * @access public + * @since 2.6.0 + * @var null + */ + var $args = null; // Custom property, such as $in_footer or $media. + + /** + * Extra data to supply to the handle. + * + * @access public + * @since 2.6.0 + * @var array + */ var $extra = array(); function __construct() {