Care to be any more specific?
I just tested it and it is fine here, so what part doesn’t work? And can you try disabling your other plugins to confirm it is specifically RBfT?
I think I’ll take it from here 🙂
The Quick Edit feature is not working with 3.6. There is a JS error:
ReferenceError: inlineEditPost is not defined
in the file radiotax.js @ line 164.
Thanks Hassan, that is something I can actually work with. The quick-edit was always the “jankiest” bit of the whole plugin.
Is this for a custom taxonomy? Also, please disable other plugins to isolate the problem and rule out conflicts.
And also please post the code you are using to register your taxonomy and define the admin column. With the show_admin_column
parameter set to true, I am not having any problems.
add_action( 'init', 'create_book_tax' );
function create_book_tax() {
register_taxonomy(
'genre',
'post',
array(
'label' => __( 'Genre' ),
'rewrite' => array( 'slug' => 'genre' ),
'hierarchical' => true,
'show_admin_column' => true,
)
);
}
It’s not a plugin/theme conflict, looks like RBfT is the culprit. I don’t understand how it’s working for you, I just tried on a fresh install and it’s not working on default categories as well as custom taxonomies. The Quick Edit link won’t open up the edit box.
For clarification, I’m talking about Quick Edit for terms table, not posts table.
That’s a pretty important clarification. I’ve been looking at the posts table this whole time, b/c in theory RBfT shouldn’t even be active on the Terms table. Now that I’ve found it I can set about fixing it.
So I have fixed this, but because of where I am I can’t push any new updates to git/svn.
In the main radio-buttons-for-taxonomies.php file you can replace the admin_script
method with:
public function admin_script(){
$options = get_option( 'radio_button_for_taxonomies_options', true );
if( ! isset( $options['taxonomies'] ) ) return;
if ( function_exists( 'get_current_screen' ) ){
$screen = get_current_screen();
if ( ! is_wp_error( $screen ) && in_array( $screen->base, array( 'edit', 'post' ) ) )
wp_enqueue_script( 'radiotax', plugins_url( 'js/radiotax.js', __FILE__ ), array( 'jquery' ), null, true );
}
}
It’s perfect now!
I hope you manage to come back from that “anti-git/svn” place soon 🙂
Good to hear. I will be at this location for a few weeks, but I can bring my computer to practice tomorrow and push the update from there.
1.5.1 was just pushed out and should resolve that issue.