Changeset 14602 for trunk/wp-includes/post.php
- Timestamp:
- 05/13/2010 05:29:45 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r14593 r14602 801 801 'public' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array(), 'register_meta_box_cb' => null, 802 802 'taxonomies' => array(), 'show_ui' => null, 'menu_position' => null, 'menu_icon' => null, 803 'permalink_epmask' => EP_PERMALINK, 'can_export' => true, 803 'permalink_epmask' => EP_PERMALINK, 'can_export' => true, 'show_in_nav_menus' => null 804 804 ); 805 805 $args = wp_parse_args($args, $defaults); … … 816 816 if ( null === $args->show_ui ) 817 817 $args->show_ui = $args->public; 818 819 // Whether to show this type in nav-menus.php. Defaults to the setting for public. 820 if ( null === $args->show_in_nav_menus ) 821 $args->show_in_nav_menus = $args->public; 818 822 819 823 // If not set, default to true if not public, false if public.
Note: See TracChangeset
for help on using the changeset viewer.