Make WordPress Core

Changeset 47906


Ignore:
Timestamp:
06/03/2020 09:25:09 PM (5 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [47903].

Props davidbaumwald.
See #50312.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r47835 r47906  
    11871187 * @since 3.1.0
    11881188 *
    1189  * @global int           $post_id
     1189 * @global int $post_id
    11901190 *
    11911191 * @param string $action Action to perform.
  • trunk/src/wp-includes/admin-bar.php

    r47903 r47906  
    693693 * @global int      $user_id      The ID of the user being edited. Not to be confused with the
    694694 *                                global $user_ID, which contains the ID of the current user.
     695 * @global int      $post_id      The ID of the post when editing comments for a single post.
    695696 *
    696697 * @param WP_Admin_Bar $wp_admin_bar
Note: See TracChangeset for help on using the changeset viewer.