File tree Expand file tree Collapse file tree
integrations/plugin-compatibility Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,12 +21,8 @@ function wp_sqlite_integration_plugin_compat( $query ) {
2121 return $ query ;
2222 }
2323
24- // 1. Intercept information_schema queries (common in caching plugins) and short-circuit.
25- // Since many plugins attempt to verify table existence using information_schema directly,
26- // rendering them obsolete or failing in SQLite, we fake the query.
27- if ( stripos ( $ query , 'information_schema.tables ' ) !== false ) {
28- return 'SELECT 1 WHERE 1=0 ' ;
29- }
24+ // 1. Intercept known problematic queries and short-circuit if necessary.
25+ // (Previously intercepted information_schema, but that broke WordPress Core Site Health).
3026
3127 // 2. Global fallback for FOR UPDATE / SKIP LOCKED / NOWAIT.
3228 // This ensures the legacy driver natively ignores these locking constraints where SQLite faults.
You can’t perform that action at this time.
0 commit comments