Argh … i was mistaken again. i was only on RC1. However, now with RC2, there are additional problems. i can’t get it working even when making the above cap_type change. Also, the admin menu items are not even visible for adding new posts of this type. And, now the issue is also affecting QuotePress.
i am using the default Role Scoper settings. i am thinking it must be something in either 3.5RC2 or Role Scoper. Most likely 3.5RC2, as QuotePress was unaffected in RC1.
Here is one of the calls …
$faqopts = get_option('faq_options');
$single = (isset($faqopts['single']) ? sanitize_title($faqopts['single']) : 'question' );
$arch = (isset($faqopts['arch']) ? sanitize_title($faqopts['arch']) : 'questions' );
register_post_type( 'question',
array(
'labels' => array(
'name' => __( 'FAQs', 'wpfaq' ),
'singular_name' => __( 'FAQ', 'wpfaq' ),
'add_new' => __( 'Add New FAQ', 'wpfaq' ),
'add_new_item' => __( 'Add New FAQ', 'wpfaq' ),
'edit' => __( 'Edit', 'wpfaq' ),
'edit_item' => __( 'Edit FAQ', 'wpfaq' ),
'new_item' => __( 'New FAQ', 'wpfaq' ),
'view' => __( 'View FAQ', 'wpfaq' ),
'view_item' => __( 'View FAQ', 'wpfaq' ),
'search_items' => __( 'Search FAQ', 'wpfaq' ),
'not_found' => __( 'No FAQs found', 'wpfaq' ),
'not_found_in_trash' => __( 'No FAQs found in Trash', 'wpfaq' ),
),
'public' => true,
'show_in_nav_menus' => true,
'show_ui' => true,
'publicly_queryable' => true,
'exclude_from_search' => false,
'hierarchical' => false,
'menu_position' => 20,
'capability_type' => 'page',
'menu_icon' => plugins_url( '/inc/img/faq_menu.png', __FILE__ ),
'query_var' => true,
'rewrite' => array( 'slug' => $single, 'with_front' => false ),
'has_archive' => $arch,
'supports' => array('title', 'editor', 'author', 'thumbnail', 'comments', 'custom-fields'),
)
);
Thanks for your work in prepping this new release. It is much appreciated!