wp/wp-includes/class-wp-http-requests-hooks.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
--- a/wp/wp-includes/class-wp-http-requests-hooks.php	Tue Dec 15 15:52:01 2020 +0100
+++ b/wp/wp-includes/class-wp-http-requests-hooks.php	Wed Sep 21 18:19:35 2022 +0200
@@ -45,7 +45,7 @@
 	 *
 	 * @param string $hook       Hook name.
 	 * @param array  $parameters Parameters to pass to callbacks.
-	 * @return boolean True if hooks were run, false if nothing was hooked.
+	 * @return bool True if hooks were run, false if nothing was hooked.
 	 */
 	public function dispatch( $hook, $parameters = array() ) {
 		$result = parent::dispatch( $hook, $parameters );
@@ -59,12 +59,14 @@
 		}
 
 		/**
-		 * Transforms a native Request hook to a WordPress actions.
+		 * Transforms a native Request hook to a WordPress action.
 		 *
 		 * This action maps Requests internal hook to a native WordPress action.
 		 *
 		 * @see https://github.com/rmccue/Requests/blob/master/docs/hooks.md
 		 *
+		 * @since 4.7.0
+		 *
 		 * @param array $parameters Parameters from Requests internal hook.
 		 * @param array $request Request data in WP_Http format.
 		 * @param string $url URL to request.