Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: Enable Edit CSS for Administrators in Multisite #6167
    tracedef
    Participant

    Never mind, the following works in fuctions.php:

    add_filter( 'map_meta_cap', 'multisite_custom_css_map_meta_cap', 20, 2 );
    function multisite_custom_css_map_meta_cap( $caps, $cap ) {
    	if ( 'edit_css' === $cap && is_multisite() ) {
    		$caps = array( 'edit_theme_options' );
    	}
    	return $caps;
    }
    in reply to: Enable Edit CSS for Administrators in Multisite #6166
    tracedef
    Participant

    Thank you. All of our sites break when I add that code to wp-includes/capabilities.php. Is there a special way to insert it? Not sure what I”m doing wrong. Also, this code would likely need to be replaced everytime we update wordpress right?

    in reply to: Enable Edit CSS for Administrators in Multisite #6164
    tracedef
    Participant

    The network activated workaround enabling unfiltered_html in multisite tab didn’t have any effect. Where does the first code you listed go? I tried functions.php to no avail.

    in reply to: Hide Add Page Link? #5853
    tracedef
    Participant

    Thank you Vladimir, you’re always on point with the help!

    in reply to: Membership and Download #5358
    tracedef
    Participant

    I get the same error regardless of how many times I click. I’m able to replicate the issue in chrome and safari.

    in reply to: Editing User Role #5356
    tracedef
    Participant

    Thank you so much!!!

    in reply to: Membership and Download #5355
    tracedef
    Participant

    For the heck of it I just tried the contact form again and still getting the same error .. just a heads up!

    in reply to: Membership and Download #5351
    tracedef
    Participant

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)