I made a drop in replacement for the Textpattern DB library to add support for PHP 5.6 and beyond. Anyone what to give it a try and see if you find any issues?
no plus ones
Shared publicly•View activity
- Oh, now I was looking into the core to make a PR for this and I find out you guys are already on it. https://github.com/textpattern/textpattern/blob/master/textpattern/lib/txplib_db.php#L201
When is this version that you're using mysqli on gonna be ready for release?42w
- Stef DawsonOwner+1Thanks, Nate. The mysqli "cheat" version 4.6.0 was due for beta release a few weeks ago but a couple of last minute bug spots from the community have delayed things.
Providing we can squash them, the beta should be any day soon.42w
- Sounds good. went and cloned the github repo and have started hacking away at it. Are you sticking with mysqli or eventually going to PDO? The fix I made goes the PDO route.42w
- Stef DawsonOwnerPDO is the eventual goal, possibly with some sort of ORM support. MySQLi just buys us some time :-)42w
- , will 4.6.0 have the same custom fields interface as 4.5.7, or something more robust?
I'm wondering how hairy the upgrade path might be for someone using glz_cf and bot_wtc.42w
- Stef DawsonOwner+1Yes, it uses the same old custom fields interface for now, but the Write panel's interface is a two-column affair so the DOM hooks, IDs and classes have changed. Thus bot_wtc will need a tweak to use the new markup structure.42w