Make WordPress Core


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

    r56600 r58419  
    3333
    3434/**
    35  * $post_type is set when the WP_Terms_List_Table instance is created
     35 * $post_type is set when the WP_Terms_List_Table instance is created.
    3636 *
    37  * @global string $post_type
     37 * @global string $post_type Global post type.
    3838 */
    3939global $post_type;
Note: See TracChangeset for help on using the changeset viewer.