This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// *** NOTE: THIS WAS FIXED IN WORDPRESS 5.9 released Feb 2022 so this code should no longer be necessary. **** | |
// db.php: Cintix/BC debug extended version of wp-db class | |
// | |
// Tiny extension to wp-db.php to detect the normally silent length | |
// overrun error, and return it so the developer can see the error. | |
// Without this, wp-db.php just returns with no errors and no rows changed; | |
// which is a nightmare to debug. |