From bcba20dd2bd6a09b48ae5a9db451f02023620b8f Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 17 Jan 2019 06:45:58 +0000 Subject: [PATCH] Docs: Fix the last handful of incorrect `@since 5.0.0` docblock tags. Props peterwilsoncc. Fixes #45543. git-svn-id: https://develop.svn.wordpress.org/trunk@44635 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/file.php | 2 +- src/wp-includes/formatting.php | 2 +- src/wp-includes/general-template.php | 2 +- tests/phpunit/tests/dependencies/mediaelementjs.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index b5f22cdb4f..efc846b9eb 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -1010,7 +1010,7 @@ function download_url( $url, $timeout = 300 ) { /** * Filters the maximum error response body size in `download_url()`. * - * @since 5.0.0 + * @since 5.1.0 * * @see download_url() * diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 67a732d51a..5fa1589fd1 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -3058,7 +3058,7 @@ function wp_targeted_link_rel_callback( $matches ) { /** * Filters the rel values that are added to links with `target` attribute. * - * @since 5.0.0 + * @since 5.1.0 * * @param string The rel values. * @param string $link_html The matched content of the link tag including all HTML attributes. diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 68b4e1beb6..061ebef6fd 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -2880,7 +2880,7 @@ function wp_no_robots() { * * Typical usage is as a wp_head callback. add_action( 'wp_head', 'wp_sensitive_page_meta' ); * - * @since 5.0.0 + * @since 5.0.1 */ function wp_sensitive_page_meta() { ?> diff --git a/tests/phpunit/tests/dependencies/mediaelementjs.php b/tests/phpunit/tests/dependencies/mediaelementjs.php index bcb15ef7f7..38263f7581 100644 --- a/tests/phpunit/tests/dependencies/mediaelementjs.php +++ b/tests/phpunit/tests/dependencies/mediaelementjs.php @@ -13,7 +13,7 @@ class Tests_Dependencies_MediaElementjs extends WP_UnitTestCase { * restore them in the future, and doing so could introduce security vulnerabilities. If you * want to re-add them, please discuss that with the Security team first. * - * @since 5.0.0 + * @since 5.1.0 * * @ticket 42720 */