Make WordPress Core


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.