[wp-trac] [WordPress Trac] #63857: Incorrect @var tag for _WP_Dependency::$args
WordPress Trac
noreply at wordpress.org
Thu Aug 21 20:31:29 UTC 2025
#63857: Incorrect @var tag for _WP_Dependency::$args
---------------------------+------------------------------
Reporter: marian1 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: trivial | Resolution:
Keywords: | Focuses: docs
---------------------------+------------------------------
Comment (by marian1):
I just noticed that the fifth argument of `wp_register_script()` is not
passed to `WP_Dependencies::add()`. Therefore, core does not pass the
value `1` and probably also not an `array`.
The remainder of the argument still holds.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63857#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list