wp-includes/class-wp-dependencies.php:18Core base class extended to register items.
$registered_WP_Dependency[]public$queuestring[]public$to_dostring[]public$donestring[]public$argsarray<string,public$groups(int|false)[]public$groupintpublic$all_queued_deps?array<string,private$queued_before_registerarray<string,private$dependencies_with_missing_dependenciesstring[]private#[AllowDynamicProperties]class WP_Dependencies { /** * An array of all registered dependencies keyed by handle. * * @since 2.6.8 * * @var _WP_Dependency[] */ public $registered = array(); /** * An array of handles of queued dependencies. * * @since 2.6.8 * * @var string[] */ public $queue = array(); /** * An array of handles of dependencies to queue. * * @since 2.6.0 * * @var string[] */ public $to_do = array(); /** * An array of handles of dependencies already queued. * * @since 2.6.0 * * @var string[] */ public $done = array(); /** * An array of additional arguments passed when a handle is registered. * * The keys are dependency handles and the values are query strings which are appended to the item URL's query * string, after the `ver` if provided. * * @since 2.6.0 * * @var array<string, string> */ public $args = array(); /** * An array of dependency groups to enqueue. * * Each entry is keyed by handle and represents the integer group level or boolean * false if the handle has no group. * * @since 2.8.0 * * @var (int|false)[] */ public $groups = array(); /** * A handle group to enqueue. * * @since 2.8.0 * * @deprecated 4.5.0 * @var int */ public $group = 0; /** * Cached lookup array of flattened queued items and dependencies. * * @since 5.4.0 * * @var ?array<string, true> */ private $all_queued_deps;Introduced in 2.6.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
get_dependency_warning_message() added.verified against sourcesrc/wp-includes/class-wp-dependencies.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.