Docs: Add missing @global reference for the $post_id global in wp_admin_bar_edit_menu().

Follow-up to [47903].

Props davidbaumwald.
See #50312.
Built from https://develop.svn.wordpress.org/trunk@47906


git-svn-id: http://core.svn.wordpress.org/trunk@47680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov
2020-06-03 21:27:09 +00:00
parent 2ef561db67
commit b50e87d52b
3 changed files with 3 additions and 2 deletions

View File

@@ -692,6 +692,7 @@ function wp_admin_bar_shortlink_menu( $wp_admin_bar ) {
* @global WP_Query $wp_the_query WordPress Query object.
* @global int $user_id The ID of the user being edited. Not to be confused with the
* global $user_ID, which contains the ID of the current user.
* @global int $post_id The ID of the post when editing comments for a single post.
*
* @param WP_Admin_Bar $wp_admin_bar
*/