X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-includes/class.wp-dependencies.php diff --git a/wp-includes/class.wp-dependencies.php b/wp-includes/class.wp-dependencies.php index 7995a908..918c5315 100644 --- a/wp-includes/class.wp-dependencies.php +++ b/wp-includes/class.wp-dependencies.php @@ -213,7 +213,7 @@ class WP_Dependencies { * @param array $deps Optional. An array of item handle strings on which this item depends. * @param string $ver Optional. Version (used for cache busting). * @param mixed $args Optional. Custom property of the item. NOT the class property $args. Examples: $media, $in_footer. - * @return bool True on success, false on failure. + * @return bool Whether the item has been registered. True on success, false on failure. */ public function add( $handle, $src, $deps = array(), $ver = false, $args = null ) { if ( isset($this->registered[$handle]) ) @@ -331,7 +331,7 @@ class WP_Dependencies { * * @param array $queue An array of queued _WP_Dependency handle objects. * @param string $handle Name of the item. Should be unique. - * @return boolean Whether the handle is found after recursively searching the dependency tree. + * @return bool Whether the handle is found after recursively searching the dependency tree. */ protected function recurse_deps( $queue, $handle ) { foreach ( $queue as $queued ) {