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

Use WP Blog meta for domain mapping #90

Open
spacedmonkey opened this issue Jun 5, 2017 · 5 comments
Open

Use WP Blog meta for domain mapping #90

spacedmonkey opened this issue Jun 5, 2017 · 5 comments

Comments

@spacedmonkey
Copy link
Contributor

There is currently a core ticket to add a new table called wp_blogmeta. This would be a network level shared table for the wp_blogs table. It is currently in development, as a feature plugin here.

It would be great to use blogmeta in this drop-in once it is in core. It means that you would not have to create another table on installation. Also many of the core functions could be used in the CRUD process.

@roborourke
Copy link
Contributor

Man this has long been needed! Thanks for heads up :)

@roborourke
Copy link
Contributor

Only downside I see here is querying - currently with the custom table we have control over the indexes, blog meta would be fine for a relatively small number of sites but I'll approach with caution for now as I need to introduce benchmarks and tests first.

@spacedmonkey
Copy link
Contributor Author

I have already had some thoughts about how we could in a way that we don't mess up the performance of not having indexes. If it gets into core, I was going to fork mercator to use blogmeta, as backwards compat might get a might interesting.

Blogmeta isn't a lock to go into core yet. @roborourke your support on the feature plugin is always welcome 👍

I also want to mention wp-site-aliases as it has some interesting ideas in it.

@spacedmonkey
Copy link
Contributor Author

@roborourke Site meta will be in 5.1 💯
https://make.wordpress.org/core/2019/01/28/multisite-support-for-site-metadata-in-5-1/

@roborourke
Copy link
Contributor

@rmccue so you're aware ^ Interested in your thoughts.

Main considerations are performance and the stage at which blogmeta functions become available during the bootstrapping as to whether this will work. Also migration & back compat need to be factored in.

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

2 participants