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.

Built from https://develop.svn.wordpress.org/trunk@38161


git-svn-id: http://core.svn.wordpress.org/trunk@38102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2016-07-27 10:36:28 +00:00
parent 37018fded6
commit b65bb2525e
2 changed files with 2 additions and 2 deletions

View File

@ -2816,7 +2816,7 @@ function wp_resource_hints() {
foreach ( $hints as $relation_type => $urls ) { 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 * @since 4.6.0
* *

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-beta4-38160'; $wp_version = '4.6-beta4-38161';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.