WordPress.org

Make WordPress Core

Changeset 38161


Ignore:
Timestamp:
07/27/2016 10:35:04 AM (3 years ago)
Author:
peterwilsoncc
Message:

Script Loader: Clarify documentation of wp_resource_hints hook.

Specify that the wp_resource_hints hook is firing for a single relation type.

Props: dimadin for initial patch.
See #37458.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r38135 r38161  
    28172817    foreach ( $hints as $relation_type => $urls ) {
    28182818        /**
    2819          * Filters domains and URLs for resource hints.
     2819         * Filters domains and URLs for resource hints of relation type.
    28202820         *
    28212821         * @since 4.6.0
Note: See TracChangeset for help on using the changeset viewer.