From d1aacf419ece7d7a41a375d24aa4b11bc69ff387 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Wed, 27 Jul 2016 10:35:04 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@38161 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index afc3b39da3..83eabe8937 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -2816,7 +2816,7 @@ function wp_resource_hints() { foreach ( $hints as $relation_type => $urls ) { /** - * Filters domains and URLs for resource hints. + * Filters domains and URLs for resource hints of relation type. * * @since 4.6.0 *