Docs: Add missing @since tags.

See #51800


git-svn-id: https://develop.svn.wordpress.org/trunk@49671 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-11-19 17:52:52 +00:00
parent 8b70c78281
commit 4eeb1c3acf
2 changed files with 5 additions and 1 deletions

View File

@@ -3530,6 +3530,8 @@ function wp_should_upgrade_global_tables() {
/**
* Filters if upgrade routines should be run on global tables.
*
* @since 4.3.0
*
* @param bool $should_upgrade Whether to run the upgrade routines on global tables.
*/
return apply_filters( 'wp_should_upgrade_global_tables', $should_upgrade );

View File

@@ -59,12 +59,14 @@ class WP_HTTP_Requests_Hooks extends Requests_Hooks {
}
/**
* 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.