[wp-trac] [WordPress Trac] #59118: Remove support for the mysql extension

WordPress Trac noreply at wordpress.org
Wed Nov 8 17:47:54 UTC 2023


#59118: Remove support for the mysql extension
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.4
Component:  Database                             |     Version:  6.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 Apologies for not commenting here sooner. I have been working on & off on
 `use_mysqli` throwing the error that @jason_the_adams mentioned, thanks to
 a colleague noticing it a few weeks ago.

 I think this error/warning deserves addressing for 6.4.1.

 I also think, subsequently, it may be a good idea for the `WPDB` class to
 maintain its own internal lists of deprecated properties & methods, so
 that as they grow over years worth of MySQL & PHP versions, there is a
 natural & obvious way to prevent this in the future (a magic `__call()`
 method or some such...)

 cc @johnbillion @SergeyBiryukov for consult?

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


More information about the wp-trac mailing list