Changeset 31307 for trunk/src/wp-includes/taxonomy.php
- Timestamp:
- 01/30/2015 07:17:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/taxonomy.php
r31287 r31307 283 283 * - show_tagcloud - Whether to list the taxonomy in the Tag Cloud Widget. 284 284 * * If not set, the default is inherited from show_ui. 285 * - show_in_quick_edit - Whether to show the taxonomy in the quick/bulk edit panel. 286 * * It not set, the default is inherited from show_ui. 285 287 * - show_admin_column - Whether to display a column for the taxonomy on its post type listing screens. 286 288 * * Defaults to false. … … 309 311 * 310 312 * @since 2.3.0 313 * @since 4.2.0 Introduced 'show_in_quick_edit' parameter. 311 314 * @uses $wp_taxonomies Inserts new taxonomy object into the list 312 315 * @uses $wp Adds query vars … … 332 335 'show_in_nav_menus' => null, 333 336 'show_tagcloud' => null, 337 'show_in_quick_edit' => null, 334 338 'show_admin_column' => false, 335 339 'meta_box_cb' => null, … … 389 393 if ( null === $args['show_tagcloud'] ) 390 394 $args['show_tagcloud'] = $args['show_ui']; 395 396 // If not set, default to the setting for show_ui. 397 if ( null === $args['show_in_quick_edit'] ) { 398 $args['show_in_quick_edit'] = $args['show_ui']; 399 } 391 400 392 401 $default_caps = array(
Note: See TracChangeset
for help on using the changeset viewer.