-
Notifications
You must be signed in to change notification settings - Fork 96
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
Install_db being called all the time... #104
Comments
I think you are right, I will change It should be fixed for the next release, in the meantime, is too much trouble if you just comment this code https://github.com/auth0/wp-auth0/blob/master/WP_Auth0.php#L699-L737 since I will not be able to release a fix until the next release (it is near to be released but cant give you an ETA yet) |
Thanks, I just changed the function, tested it, it seems to work fine. It also looks like the settings are only happening at the blog level, not sitewide. I'm having to enable and configure Auth0 on each blog. Typically in multisite you can set options globally, and each blog uses the global settings... Not as sure how to fix that one.. |
For the Vnext, we are working in a way to export/import settings. I dont think we are going to add a global setup in the near future, but this feature could be a nice workaround, what do you think? The only issue is if you are generating new sites dinamically. |
I just started using this (love the idea) but am generating sites dynamically. Going to be tough! Any plans to allow settings at the network level? |
Hi @beatelite no, but as I said, a new couple of new features will make this easier. One is the import/export settings and the other is a new wizard for auto-setup. |
Awesome! Also, had a thought that might help someone else: We're just cloning a site on the network that has all the settings pre-done. This way the new site will have everything it needs - including the wp-auth0 info. It won't help with existing sites but at least it's something. |
@beatelite can you point me to some hook on the cloning process? if there is any it shouldnt be hard |
We're using this for it: https://premium.wpmudev.org/project/new-blog-template/ |
Install_db is being called every time. This is in a multisite install
I believe it's
update_option( "auth0_db_version", AUTH0_DB_VERSION );
and
get_site_option( 'auth0_db_version' )
not being the same thing...
should it be
update_site_option( "auth0_db_version", AUTH0_DB_VERSION );
Causing tons of mysql io...
The text was updated successfully, but these errors were encountered: