Skip to content

self:: class references produce broken links #560

@sirreal

Description

@sirreal

WP_Scripts::get_highest_fetchpriority_with_dependents(), it appears that using self produces broken links: reference/classes/**self**/filter_eligible_strategies.

This is the documentation source:

/**
 * Gets the highest fetch priority for a given script and all of its dependent scripts.
 *
 * @since 6.9.0
 * @see self::filter_eligible_strategies()
 * @see WP_Script_Modules::get_highest_fetchpriority()
 *
 * @param string                $handle         Script module ID.
 * @param array<string, true>   $checked        Optional. An array of already checked script handles, used to avoid recursive loops.
 * @param array<string, string> $stored_results Optional. An array of already computed max priority by handle, used to increase performance in large dependency lists.
 * @return string|null Highest fetch priority for the script and its dependents.
 */

Props to @IanDelMar who noticed this issue in the generated documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions