Change WordPress user roles and capabilities Forums Bug Reports Plugin access addon editing doesn't take effect immediately on new users. Reply To: Plugin access addon editing doesn't take effect immediately on new users.

#5609
armel
Participant

I tried to install the beta version but it didnt fix the issue.

I have created a custom plugin with the filter you sent me but this doesn’t work either. The code I have added in the plugin are below. Is this exactly what you requested to do?

<?php
add_filter(‘ure_addons_to_copy_for_new_blog’, ‘ure_addons_to_copy_for_new_blog’, 10, 1);
function ure_addons_to_copy_for_new_blog($addons) {
$addons[‘admin_menu’]->copy = true;
$addons[‘widgets_admin’]->copy = true;
$addons[‘widgets_show’]->copy = true;
$addons[‘meta_boxes’]->copy = true;
$addons[‘other_roles’]->copy = true;
$addons[‘plugins’]->copy = true;
return $addons;
}