• Hi,
    We are experiencing some issues regarding ‘unfiltered_html’. We run a WordPress Network with several sites, and we would like to give the administrators of each individual blog the ‘unfiltered_html’ capability, but I can’t get it to work… I have tried adding the capability in functions.php:
    $edit_contributor = get_role(‘administrator’);
    $edit_contributor->add_cap(‘unfiltered_html’);

    But this doesn’t do anything (Yes the user is an admin; current_user_can(‘administrator’) = 1)

    I have also tried the plug-in ‘User Role Editor’. I wasn’t able to edit the roles for the administrator, but I created a new role with the needed capabilities and assigned the user to it, but still no success.

    How do I fix this issue?

  • The topic ‘unfiltered_html for site adminstrator in wp network’ is closed to new replies.