Make WordPress Core


Ignore:
Timestamp:
06/15/2024 12:32:35 PM (20 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for a few globals in the admin.

This affects:

  • $post_type
  • $post_type_object
  • $taxonomy
  • $title
  • $wp_meta_boxes

Follow-up to [31121], [32642], [32643], [37890], [43815], [44244], [45742], [53060], [53061], [54831].

Props shub07, 1naveengiri, sabernhardt, SergeyBiryukov.
Fixes #59561.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-blocks.php

    r56675 r58419  
    1515
    1616/**
    17  * @global string       $post_type
    18  * @global WP_Post_Type $post_type_object
     17 * @global string       $post_type        Global post type.
     18 * @global WP_Post_Type $post_type_object Global post type object.
    1919 * @global WP_Post      $post             Global post object.
    20  * @global string       $title
    21  * @global array        $wp_meta_boxes
     20 * @global string       $title            The title of the current screen.
     21 * @global array        $wp_meta_boxes    Global meta box state.
    2222 */
    2323global $post_type, $post_type_object, $post, $title, $wp_meta_boxes;
Note: See TracChangeset for help on using the changeset viewer.