Since you update your site via svn, have you tried rolling back until the problem goes away? If you can do that and identify which commit created the problem, it would greatly help in identifying the code that created the issue and speed development of a fix.

Chris Jean (AKA gaarai&  chrisbliss18)
Coder for http://ithemes.com/
http://gaarai.com/
@chrisjean


On 10/26/2010 10:10 AM, Navjot Singh wrote:
I am using this code for adding a custom post type

add_action( 'init', 'go_post_types' );

function go_post_types() {
     register_post_type( 'videos',
         array(
             'labels' =>  array(
                 'name' =>  __( 'Videos' ),
                 'singular_name' =>  __( 'Video' ),
             ),
             'description' =>  __( 'Video type posts are used to post Videos
to GO site.' ),
             'public' =>  true,
             'show_ui' =>  true,
             'publicly_queryable' =>  true,
             'exclude_from_search' =>  false,
             '_builtin' =>  false,
             'menu_position' =>  5,
             'menu_icon' =>  get_stylesheet_directory_uri() .
'/images/videoicon.png',
             'hierarchical' =>  false,
             'capability_type' =>  'post',
             'supports' =>  array( 'title', 'editor', 'revisions', 'author',
'excerpt', 'custom-fields', 'thumbnail' ),
             'rewrite' =>  array( 'slug' =>  'videos'),
             'can_export' =>  true,
         )
     );
     register_taxonomy("video-type", array("videos"), array("hierarchical" =>
true, "label" =>  "Video Type", "rewrite" =>  true));
}
?>

One or two days back everything was fine but today when I logged in, I could
not edit any published video type. Now I can only add videos but not edit
them. Seems some recent Trunk changeset caused the problem. I update the
blog once a day via SVN.

Can't figure out why its like this.

Regards
Navjot Singh
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to