From b50e87d52b58941a78d65cfadbbfe158318c5959 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 3 Jun 2020 21:27:09 +0000 Subject: [PATCH] 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 --- wp-admin/includes/ajax-actions.php | 2 +- wp-includes/admin-bar.php | 1 + wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/ajax-actions.php b/wp-admin/includes/ajax-actions.php index 9b74b9f4ba..7010262492 100644 --- a/wp-admin/includes/ajax-actions.php +++ b/wp-admin/includes/ajax-actions.php @@ -1186,7 +1186,7 @@ function wp_ajax_get_tagcloud() { * * @since 3.1.0 * - * @global int $post_id + * @global int $post_id * * @param string $action Action to perform. */ diff --git a/wp-includes/admin-bar.php b/wp-includes/admin-bar.php index d38fa62bf4..6b5ad0e575 100644 --- a/wp-includes/admin-bar.php +++ b/wp-includes/admin-bar.php @@ -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 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index ad89d2ed45..3ff723458e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-47905'; +$wp_version = '5.5-alpha-47906'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.