Make WordPress Core


Ignore:
Timestamp:
11/25/2022 03:10:48 PM (20 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the type for _WP_Dependency::$src property.

The handle source can be set to false, which means the item is an alias of other items it depends on.

Follow-up to [7970], [25518], [43661], [47170], [48462], [54470].

Props mehulkaklotar, swissspidy, costdev.
Fixes #57206.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-dependency.php

    r54351 r54875  
    3030     * The handle source.
    3131     *
     32     * If source is set to false, the item is an alias of other items it depends on.
     33     *
    3234     * @since 2.6.0
    33      * @var string
     35     * @var string|false
    3436     */
    3537    public $src;
Note: See TracChangeset for help on using the changeset viewer.