News for hackers. Stuff that matters.
Re:WordPress 3.5 “Elvin” Released by chrisblackwell on Tuesday December 11, 2012 @02:03PM (#4906136)
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.

Re:WordPress 3.5 “Elvin” Released by Otto42 on Tuesday December 11, 2012 @04:46PM (#4907024)
Somehow I doubt that we'll decide to drop support for 65.5% of our users (roughly 26 million websites).

http://wordpress.org/about/stats/

Re:WordPress 3.5 “Elvin” Released by rmccue on Wednesday December 12, 2012 @04:40AM (#4909340)
It'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.
Re:WordPress 3.5 “Elvin” Released by mildweed on Tuesday December 11, 2012 @04:58PM (#4907099)
Wordpress has adopted the PDO standard. It will be in WP 3.6. http://core.trac.wordpress.org/ticket/21663
Re:WordPress 3.5 “Elvin” Released by rmccue on Wednesday December 12, 2012 @04:39AM (#4909338)
That'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.)

Re:WordPress 3.5 “Elvin” Released by zaphoyd on Tuesday December 11, 2012 @02:41PM (#4906385)
Do you have a source for PHP 5.5 dropping straight MySQL support? I'd like to read more.
Re:WordPress 3.5 “Elvin” Released by chrisblackwell on Tuesday December 11, 2012 @02:48PM (#4906423)
Re:WordPress 3.5 “Elvin” Released by papsosouid on Tuesday December 11, 2012 @03:53PM (#4906737)
That 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.
Re:WordPress 3.5 “Elvin” Released by jtreminio on Tuesday December 11, 2012 @04:01PM (#4906784)
mysql_* functions will still work, they will simply be marked as deprecated from 5.5 forward:

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?