Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPMU DEV Multisite - Branda White Label Conflict #5

Open
Mecleary opened this issue Mar 3, 2020 · 0 comments
Open

WPMU DEV Multisite - Branda White Label Conflict #5

Mecleary opened this issue Mar 3, 2020 · 0 comments

Comments

@Mecleary
Copy link

Mecleary commented Mar 3, 2020

WPMU DEV's White Labeling Branda plugin would not retain the menu tweaks on subsites. (if overriding the global setting) - see image

Anyway commenting out the following did the trick in class-dwe-admin.php

     if ( is_multisite() ) {
            $hide_settings = get_blog_option( 1, 'dwe_hide_from_subsites' );
            
            if ( $hide_settings && get_current_blog_id() != 1 ) {
                return;
            }
        }

Not sure why that bit made Branda break... anyhow,
both plugins work in harmony, everything works fantastic - your plugin is so very, very nice.
Adding forms to the admin dashboard is not easy, but your plugin makes it a breeze.

I will manage menu visibility with Branda.

2020-03-02 22_34_03-WM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant