itmaybejj / editoria11y-wp

WordPress wrapper for Editoria11y
GNU General Public License v2.0
6 stars 2 forks source link

Multisite Support #22

Closed silsbyc closed 4 months ago

silsbyc commented 6 months ago

I notice that when I enable the plugin on an individual site within our Multisite, the proper tables _ed11y_dismissals, _ed11y_results, *_ed11y_urls are created for the individual site.

However, if I try to activate the plugin as a network-wide plugin, those same tables do not get created.

Is it possible to create those tables if they don't exist on a Multisite activation?

itmaybejj commented 6 months ago

I'm afraid the version with this fixed isn't quite ready for release yet -- I have approval to throw time at it later this spring.

itmaybejj commented 4 months ago

I'm hoping merging the above fixed this issue, but I'm adding a lazy provisioner in the next release that will do a one-time extra attempt to create the tables -- that should fix any older sites.

itmaybejj commented 4 months ago

PR 26 fixes this. I hope to have that out shortly; if you have a dev environment I would really appreciate help testing.

silsbyc commented 4 months ago

Sorry, just had a chance to test this on my dev server.

Now it is a new error that appears whether the plugin is Network or Site activated. I'll open a new request about this issue.

silsbyc commented 4 months ago

But, good news is that the _ed11y_dismissals, _ed11y_results, *_ed11y_urls are created for sites when enabled network-wide. So this issue is definitely resolved.