3 ms·
WordPress could really change their bad reputation by dropping support for PHP 5.2 in the next release, and requiring 5.3. This would allow future WordPress de
by chrisblackwell 14y ago
WordPress could really change their bad reputation by dropping support for PHP 5.2 in the next release, and requiring 5.3.
This would allow future WordPress developers to namespace their code, and out allow simple closures withint your code.
As of PHP 5.5, there is no support for a straight mySQL connection. There is no real downside in WordPress adopting the PDO standard.
- zaphoyd 14y agoDo you have a source for PHP 5.5 dropping straight MySQL support? I'd like to read more.
- chrisblackwell 14y agohttp://news.php.net/php.internals/53799 http://news.php.net/php.internals/53799
- papsosouid 14y agoThat doesn't support the claim of no support for straight mysql connection in 5.5. It says they are going to focus on documenting how to use mysql with the newer modules instead of the old one, and that they will look into possibly adding deprecation notices for the old module in 5.5. Which means it will obviously still be there, and still work.
- jtreminio 14y agomysql_* functions will still work, they will simply be marked as deprecated from 5.5 forward: https://wiki.php.net/rfc/mysql_deprecation https://wiki.php.net/rfc/mysql_deprecation As of 5.4, mysql_* were officially discouraged via the docs. Maybe in > 5.5.* mysql_* functions will be officially removed from core?
- Otto42 14y agoSomehow I doubt that we'll decide to drop support for 65.5% of our users (roughly 26 million websites). http://wordpress.org/about/stats/ http://wordpress.org/about/stats/
- rmccue 14y agoIt's funny how many people say WP should drop 5.2 compatibility. It's certainly possible to push the hosts towards using 5.3, but the fact is that the user base simply isn't there yet.
- mildweed 14y agoWordpress has adopted the PDO standard. It will be in WP 3.6. http://core.trac.wordpress.org/ticket/21663 http://core.trac.wordpress.org/ticket/21663
- rmccue 14y agoThat's the aim. Whether we actually get land it in 3.6 or not is another issue, since 5.5 isn't stable yet, so it's not really an issue just yet. (Personally, I want it, but I can see there being friction, given the possibility of breakage.)