Ive been experiencing a problem with the new WordPress 3.1.2 update. When i use
add_theme_support(); and register an array of post formats, it registers all of them fine, but when it comes to the video post format, it registers it twice, and gets called post-format-video-2.
This is the way im writing out the code:
add_theme_support( 'post-formats', array( 'aside', 'gallery', 'image', 'link', 'video' ));
Ive tested this out both on my theme, and the twentyten theme. The problem is exclusive to the video post-format. Its really strange. Additionally when you declare a "posts" format as "video" upon publishing or updating, the post-format meta box adds a new radio button with a new post format without a slug/name.
Illustration (where numbers are the radio buttons):
Despite only showing 5 radio buttons, upon updating/publishing, a new radio button appears, and it gets selected (radio button 6) rather than the one I chose (radio button 5).
Ive used the
add_action( 'after_setup_theme', 'foobar' ); on my theme with no luck. Of-course this comes standard with twentyten.