Changeset 25133 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 08/26/2013 10:34:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r25130 r25133 281 281 * - show_ui -Whether to generate a default UI for managing this taxonomy in the admin. 282 282 * * If not set, the default is inherited from public. 283 * - show_in_menu - Where to show the taxonomy in the admin menu. 284 * * If true, the taxonomy is shown as a submenu of the object type menu. 285 * * If false, no menu is shown. 286 * * show_ui must be true. 287 * * If not set, the default is inherited from show_ui. 283 288 * - show_in_nav_menus - Makes this taxonomy available for selection in navigation menus. 284 289 * * If not set, the default is inherited from public. … … 325 330 'hierarchical' => false, 326 331 'show_ui' => null, 332 'show_in_menu' => null, 327 333 'show_in_nav_menus' => null, 328 334 'show_tagcloud' => null, … … 366 372 if ( null === $args['show_ui'] ) 367 373 $args['show_ui'] = $args['public']; 374 375 // If not set, default to the setting for show_ui. 376 if ( null === $args['show_in_menu' ] || ! $args['show_ui'] ) 377 $args['show_in_menu' ] = $args['show_ui']; 368 378 369 379 // If not set, default to the setting for public.
Note: See TracChangeset
for help on using the changeset viewer.