[wp-trac] [WordPress Trac] #21663: Use PDO or mysqli for MySQL queries when available

WordPress Trac noreply at wordpress.org
Thu Jan 30 14:40:11 UTC 2014


#21663: Use PDO or mysqli for MySQL queries when available
--------------------------------------------------+------------------
 Reporter:  scottconnerly                         |       Owner:
     Type:  task (blessed)                        |      Status:  new
 Priority:  normal                                |   Milestone:  3.9
Component:  Database                              |     Version:  3.5
 Severity:  normal                                |  Resolution:
 Keywords:  dev-feedback has-patch needs-testing  |     Focuses:
--------------------------------------------------+------------------

Comment (by knutsp):

 Replying to [comment:169 Denis-de-Bernardy]:
 > Replying to [comment:168 knutsp]:
 > > MySQL 5.0.6 was released in May 2005. Should earlier versions make
 WordPress not use `set_charset()`? How many users are on MySQL <= 5.0.5?
 >
 > My bad. I missed the MySQL version requirement.

 Not bad. WordPress still not requiring 5.0.6 is bad, if WordPress really
 needs this to be better and consistent regarding charset. I'm ok with just
 requiring 5.0.x in general, but wonder how bad it would be to raise the
 requirement just a bit.

 I may not understand the implications, but will learn. Requirements have
 to change from time to time, or else we are in trouble.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/21663#comment:170>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list