fixed rewrite and capabilities arrays for custom cpts and taxonomies