From c3be47265701d54428243ac5de64c6281e47552d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 7 Mar 2021 11:54:53 +0000 Subject: [PATCH] Docs: Add a `@since` note to `wp_admin_bar_edit_menu()` about the "View Post" link on Comments screen for a single post. Follow-up to [47903]. Props sabernhardt, janak007, munyagu. Fixes #42366. git-svn-id: https://develop.svn.wordpress.org/trunk@50504 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/admin-bar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/admin-bar.php b/src/wp-includes/admin-bar.php index 0ea79225d9..fb42e11335 100644 --- a/src/wp-includes/admin-bar.php +++ b/src/wp-includes/admin-bar.php @@ -687,6 +687,7 @@ function wp_admin_bar_shortlink_menu( $wp_admin_bar ) { * Provide an edit link for posts and terms. * * @since 3.1.0 + * @since 5.5.0 Added a "View Post" link on Comments screen for a single post. * * @global WP_Term $tag * @global WP_Query $wp_the_query WordPress Query object.