From 3ab2803af26856db65bab2d4067a812addcd3d4b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 11 Apr 2019 21:16:51 +0000 Subject: [PATCH] Docs: Add missing `@since` tags for `wp_targeted_link_rel()` and `wp_targeted_link_rel_callback()`. See #43187, #46543. Built from https://develop.svn.wordpress.org/trunk@45163 git-svn-id: http://core.svn.wordpress.org/trunk@44972 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index b7380a2c50..736a653dac 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -3032,6 +3032,8 @@ function wp_rel_nofollow_callback( $matches ) { /** * Adds rel noreferrer and noopener to all HTML A elements that have a target. * + * @since 5.1.0 + * * @param string $text Content that may contain HTML A elements. * @return string Converted content. */ @@ -3050,6 +3052,8 @@ function wp_targeted_link_rel( $text ) { * Will not duplicate existing noreferrer and noopener values * to prevent from invalidating the HTML. * + * @since 5.1.0 + * * @param array $matches Single Match * @return string HTML A Element with rel noreferrer noopener in addition to any existing values */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 24da2cf0ff..37fd12f1db 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta2-45162'; +$wp_version = '5.2-beta2-45163'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.