Skip to content

Commit

Permalink
Docs: Add missing @global reference for the $post_id global in `w…
Browse files Browse the repository at this point in the history
…p_admin_bar_edit_menu()`.

Follow-up to [47903].

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


git-svn-id: https://core.svn.wordpress.org/trunk@47680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Jun 3, 2020
1 parent f655ff2 commit c327e4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wp-admin/includes/ajax-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
1 change: 1 addition & 0 deletions wp-includes/admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c327e4b

Please sign in to comment.