[wp-trac] [WordPress Trac] #64523: _do_query needs exception processing in class-wpdb.php
WordPress Trac
noreply at wordpress.org
Sat Jan 17 14:55:55 UTC 2026
#64523: _do_query needs exception processing in class-wpdb.php
--------------------------+------------------------------
Reporter: randem06 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by solankisoftware):
I’ve opened a PR to fix this issue by safely catching mysqli exceptions in
wpdb::_do_query().
PR: https://github.com/WordPress/wordpress-develop/pull/10750
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64523#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list