Make WordPress Core


Ignore:
Timestamp:
04/04/2022 06:37:24 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $typenow global in various functions.

Follow-up to [53060].

See #54729.

File:
1 edited

Legend:

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

    r53060 r53061  
    18601860 * @global array  $submenu
    18611861 * @global string $pagenow              The filename of the current screen.
    1862  * @global string $typenow
     1862 * @global string $typenow              The post type of the current screen.
    18631863 * @global string $plugin_page
    18641864 * @global array  $_wp_real_parent_file
     
    19481948 *
    19491949 * @global string $title
    1950  * @global array $menu
    1951  * @global array $submenu
     1950 * @global array  $menu
     1951 * @global array  $submenu
    19521952 * @global string $pagenow     The filename of the current screen.
     1953 * @global string $typenow     The post type of the current screen.
    19531954 * @global string $plugin_page
    1954  * @global string $typenow
    19551955 *
    19561956 * @return string The title of the current admin page.
    19571957 */
    19581958function get_admin_page_title() {
    1959     global $title, $menu, $submenu, $pagenow, $plugin_page, $typenow;
     1959    global $title, $menu, $submenu, $pagenow, $typenow, $plugin_page;
    19601960
    19611961    if ( ! empty( $title ) ) {
Note: See TracChangeset for help on using the changeset viewer.