Make WordPress Core


Ignore:
Timestamp:
06/15/2024 12:32:35 PM (10 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/post.php

    r58069 r58419  
    2929
    3030/**
    31  * @global string  $post_type
    32  * @global object  $post_type_object
    33  * @global WP_Post $post             Global post object.
     31 * @global string       $post_type        Global post type.
     32 * @global WP_Post_Type $post_type_object Global post type object.
     33 * @global WP_Post      $post             Global post object.
    3434 */
    3535global $post_type, $post_type_object, $post;
Note: See TracChangeset for help on using the changeset viewer.