Make WordPress Core


Ignore:
Timestamp:
11/13/2022 01:49:16 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document the usage of globals in some functions.

This affects:

  • the_block_editor_meta_boxes()
  • wp_generate_block_templates_export_file()
  • WP_oEmbed_Controller::get_proxy_item()

Follow-up to [44131], [48135], [51151], [53129].

Props krunal265.
Fixes #57082.

File:
1 edited

Legend:

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

    r54524 r54831  
    22112211 *
    22122212 * @since 5.0.0
     2213 *
     2214 * @global WP_Post   $post           Global post object.
     2215 * @global WP_Screen $current_screen WordPress current screen object.
     2216 * @global array     $wp_meta_boxes
    22132217 */
    22142218function the_block_editor_meta_boxes() {
Note: See TracChangeset for help on using the changeset viewer.