Make WordPress Core

Changeset 28241


Ignore:
Timestamp:
05/02/2014 11:28:05 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Correct 'show_in_menu' parameter description in register_taxonomy().

fixes #27943.

File:
1 edited

Legend:

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

    r27837 r28241  
    277277 *     * Defaults to true.
    278278 * - hierarchical - Whether the taxonomy is hierarchical (e.g. category). Defaults to false.
    279  * - show_ui -Whether to generate a default UI for managing this taxonomy in the admin.
     279 * - show_ui - Whether to generate a default UI for managing this taxonomy in the admin.
    280280 *     * If not set, the default is inherited from public.
    281  * - show_in_menu - Where to show the taxonomy in the admin menu.
     281 * - show_in_menu - Whether to show the taxonomy in the admin menu.
    282282 *     * If true, the taxonomy is shown as a submenu of the object type menu.
    283283 *     * If false, no menu is shown.
Note: See TracChangeset for help on using the changeset viewer.