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

Multisite & Bedrock #40

Open
henrikkensen opened this issue Feb 5, 2024 · 0 comments
Open

Multisite & Bedrock #40

henrikkensen opened this issue Feb 5, 2024 · 0 comments

Comments

@henrikkensen
Copy link

We have a multisite and are using roots/bedrock.

In order to have this plugin working we have made two adjustment in cc.php.

We have added "switch_to_blog();" width the correct blog ID after the require_once rows.
And removed/commented the if(!is_admin) .

In cc.php it seems lite the wordpress functions is not loading correctly when using multisite and/ord Bedrock.
wp_get_current_user(), return site_id 1, och a user with no capabilities.

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