Skip to content
Discussion options

You must be logged in to vote

Please revert the edit to LudicrousDB::query(). Rewriting every multisite table prefix inside the database class bypasses normal routing and will be overwritten on upgrade. More importantly, making every site use one posts and postmeta pair collapses WordPress's site-level table isolation; IDs, schema upgrades, plugin assumptions, and writes can collide.

Routing only post_type = product rows is not a safe LudicrousDB partition either. LudicrousDB selects a database connection for a table/query; it does not split rows within posts. Many reads do not include a post_type condition, and product metadata lives in postmeta, where the type is not known without joining back to posts.

The safe bou…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@JJJ
Comment options

JJJ Jul 30, 2024
Maintainer

@allcalmarketing
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by JJJ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants