I’m having the same issue. I’ve tried disabling many of my plugins to rule out that as an issue. I also installed latest version 1.9.2 on another site and it seems to work just fine. I’m running WP 3.5.1 on the site where it doesn’t work and 3.4.2 on the site where it does work. So I’m wondering if there is a change with any of the functions being used and the latest version(s) of WP? I’m also using Post Notes plugin as well.
To be clear here is what I’m doing:
1. Running WP 3.5.1 with plugin version 1.9.2
2. Going to Collaboration emails settings page (/wp-admin/options-general.php?page=peters_collaboration_emails.php)
3. Under the “Add post-type-specific moderators” section I choose “Posts”
4. Nothing further happens, expected output would be the ajax request to get categories for posts but the dropdown does not update.
Here is the error from my console log:
Uncaught SyntaxError: Unexpected token < load-scripts.php?c=1&load%5B%5D=jquery,utils,farbtastic,sack&ver=3.5.1:2
v.extend.parseJSON load-scripts.php?c=1&load%5B%5D=jquery,utils,farbtastic,sack&ver=3.5.1:2
(anonymous function) options-general.php?page=peters_collaboration_emails.php:383
l load-scripts.php?c=1&load%5B%5D=jquery,utils,farbtastic,sack&ver=3.5.1:2
c.fireWith load-scripts.php?c=1&load%5B%5D=jquery,utils,farbtastic,sack&ver=3.5.1:2
T load-scripts.php?c=1&load%5B%5D=jquery,utils,farbtastic,sack&ver=3.5.1:2
r load-scripts.php?c=1&load%5B%5D=jquery,utils,farbtastic,sack&ver=3.5.1:2
Here is the function referenced:
jQuery.post( ajaxurl, data, function( response )
{
var taxonomies = jQuery.parseJSON( response );
if( '0' != taxonomies )
{
jQuery( '#taxonomy_types' ).append( '<option selected="selected" value="all">All</option>' );
jQuery.each( taxonomies, function( index, item )
{
jQuery( '#taxonomy_types' ).append( '<option value="' + item.name + '">' + item.label + '</option>' );
});
}
});
The general functionality of the plugin works great with the “Default moderators” setting, I just can’t set category specific moderators.
Thanks,
-GB